From 2028a02448ed329703736a2c8a0ec7d974701edd Mon Sep 17 00:00:00 2001 From: "Gregory J. Ward" Date: Thu, 20 Aug 2020 03:37:10 +0000 Subject: [PATCH] chore: fixed double appearance of genklemsamp --- src/util/CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/util/CMakeLists.txt b/src/util/CMakeLists.txt index 66950ab36..9f8e3c8cd 100644 --- a/src/util/CMakeLists.txt +++ b/src/util/CMakeLists.txt @@ -196,9 +196,6 @@ if(WIN32) add_custom_target(genambpos ALL COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genambpos.exe -d ) - add_custom_target(genklemsamp ALL - COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/genklemsamp.exe -d - ) add_custom_target(rcode2bmp ALL COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/rcode2bmp.exe -d ) @@ -215,7 +212,6 @@ if(WIN32) objpict.exe objview.exe genambpos.exe - genklemsamp.exe rcode2bmp.exe rtpict.exe DESTINATION "bin" @@ -240,7 +236,11 @@ else() rcode2bmp.pl rlux.csh rtpict.pl - trad.wsh vinfo.csh ) + add_custom_target(trad ALL + COMMAND csh -f ${CMAKE_CURRENT_SOURCE_DIR}/tradinstall.csh + RUNTIME DESTINATION "bin" + ${CMAKE_BINARY_DIR}/lib + ) endif()