Skip to content

Commit

Permalink
Don't symlink anything
Browse files Browse the repository at this point in the history
  • Loading branch information
wojnilowicz committed Aug 1, 2020
1 parent 0809c6e commit 25c44df
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions kmymoney/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,17 +175,6 @@ target_link_libraries(kmymoney
$<$<BOOL:${ENABLE_SQLCIPHER}>:PkgConfig::SQLCIPHER>
)

# create symlink to let kcoreaddons find plugins
if(WIN32 AND NOT CMAKE_CROSSCOMPILING)
add_custom_command(TARGET kmymoney POST_BUILD
COMMAND mklink /J kmymoney .
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
else()
add_custom_command(TARGET kmymoney POST_BUILD
COMMAND ${CMAKE_COMMAND} -E create_symlink . kmymoney
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
endif()

# own plist magic for mac os
if(APPLE)
string(TIMESTAMP CURRENT_YEAR "%Y")
Expand Down

0 comments on commit 25c44df

Please sign in to comment.