summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-03-23 19:37:27 +0100
committerJo-Philipp Wich <jo@mein.io>2022-03-23 19:39:39 +0100
commit8134e2509d6aa201e46eaae4f7eb55bfbbf758ee (patch)
tree3e55542ac7e2c955101f858ae493f77e41c07024
parent87c72961c6e18a56caf5bac6b48196ccb8532336 (diff)
build: fix symlink install target
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3409f02..d578458 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -217,11 +217,11 @@ INSTALL(TARGETS libucode LIBRARY DESTINATION lib)
INSTALL(TARGETS ${LIBRARIES} LIBRARY DESTINATION lib/ucode)
ADD_CUSTOM_TARGET(utpl ALL COMMAND ${CMAKE_COMMAND} -E create_symlink ucode utpl)
-INSTALL(FILES utpl DESTINATION bin)
+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/utpl DESTINATION bin)
IF(COMPILE_SUPPORT)
ADD_CUSTOM_TARGET(ucc ALL COMMAND ${CMAKE_COMMAND} -E create_symlink ucode ucc)
- INSTALL(FILES ucc DESTINATION bin)
+ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/ucc DESTINATION bin)
ENDIF()
FILE(GLOB UCODE_HEADERS "include/ucode/*.h")