mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-08-06 19:52:26 +02:00
fixed copy of server binary
This commit is contained in:
@@ -84,7 +84,9 @@ if(CMAKE_TOOLCHAIN_FILE AND NOT CMAKE_TOOLCHAIN_FILE STREQUAL "") # copy the ser
|
||||
add_custom_command(TARGET matterhornDetectorServer POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
$<TARGET_FILE:matterhornDetectorServer>
|
||||
${CMAKE_CURRENT_BINARY_DIR}/bin/matterhornDetectorServer
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/bin/matterhornDetectorServer
|
||||
DEPENDS matterhornDetectorServer
|
||||
COMMENT "Copying matterhornDetectorServer binary to bin for cross compilation"
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user