mirror of
https://github.com/starr-dusT/tzdb_to_nx
synced 2024-03-05 21:18:52 -08:00
cmake: Use generator expression to target binary
This commit is contained in:
parent
35ced3c4bf
commit
0b28ddb5a6
@ -3,5 +3,4 @@ add_executable(tzdb2nx
|
|||||||
tzif.cpp
|
tzif.cpp
|
||||||
tzif.h)
|
tzif.h)
|
||||||
|
|
||||||
set(TZDB2NX_PATH "${CMAKE_CURRENT_BINARY_DIR}/tzdb2nx" CACHE PATH "Path to tzdb2nx path")
|
set(TZDB2NX_PATH "$<TARGET_FILE:tzdb2nx>" CACHE PATH "Path to tzdb2nx path")
|
||||||
set_target_properties(tzdb2nx PROPERTIES CMAKE_RUNTIME_OUTPUT_DIRECTORY ${TZDB2NX_PATH})
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user