diff options
author | Gulliver <gulliver@fargonauten.de> | 2014-09-11 18:49:14 +0200 |
---|---|---|
committer | Gulliver <gulliver@fargonauten.de> | 2014-09-11 18:49:14 +0200 |
commit | 0a8ab28bed8cef7ff594fd7ab15bd4d300c0fee2 (patch) | |
tree | f5a9bab779f036fe14a2c04c49faef42a333ff3f | |
parent | 0a40eea051e5b61c954f32025df21a475b0ee111 (diff) |
fixed using variable ${PROGRAM_stmd}
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 35de787..3b8b770 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -33,12 +33,12 @@ add_executable(${PROGRAM_stmd} ${PROGRAM_stmd_SOURCES})
if (MSVC)
-set_property(TARGET PROGRAM_stmd
+set_property(TARGET ${PROGRAM_stmd}
APPEND PROPERTY LINK_FLAGS /INCREMENTAL:NO)
# if sometimes libs are needed ...
#target_link_libraries(${PROGRAM_chronolog})
endif(MSVC)
-install(TARGETS PROGRAM_stmd
+install(TARGETS ${PROGRAM_stmd}
RUNTIME DESTINATION bin
BUNDLE DESTINATION Applications)
|