diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-22 14:05:41 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-08-22 14:05:41 +0200 |
commit | b55285a77da0e0b829e4ce8d7e09debaabc68e15 (patch) | |
tree | f622559ef65bbdd3e1c5bdb06098a8f89eec0563 /app/help/CMakeLists.txt | |
parent | d3897ce090dbeb220ed2c782f095597e417cf3cc (diff) | |
parent | d1ae75703e1ed81d65ea16946dcdb77e7a13adc9 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'app/help/CMakeLists.txt')
-rw-r--r-- | app/help/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/help/CMakeLists.txt b/app/help/CMakeLists.txt index 2b7efa7..34c8d33 100644 --- a/app/help/CMakeLists.txt +++ b/app/help/CMakeLists.txt @@ -1,9 +1,8 @@ PROJECT(help) -ADD_EXECUTABLE(genhelp genhelp.c) +ADD_EXECUTABLE(genhelp genhelp.c cJSON.c cJSON.h) ADD_EXECUTABLE(genmessages genmessages.c) -GET_TARGET_PROPERTY(genmessages_EXE genmessages LOCATION) IF(XTRKCAD_USE_GETTEXT) SET(GENMESSAGES_OPTS "-i18n") @@ -14,7 +13,7 @@ ENDIF(XTRKCAD_USE_GETTEXT) ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/messages.h ${CMAKE_CURRENT_BINARY_DIR}/messages.but DEPENDS genmessages ${CMAKE_CURRENT_SOURCE_DIR}/messages.in - COMMAND ${genmessages_EXE} ${GENMESSAGES_OPTS} ${CMAKE_CURRENT_SOURCE_DIR}/messages.in ${CMAKE_CURRENT_BINARY_DIR}/messages.but + COMMAND genmessages ${GENMESSAGES_OPTS} ${CMAKE_CURRENT_SOURCE_DIR}/messages.in ${CMAKE_CURRENT_BINARY_DIR}/messages.but ) ADD_CUSTOM_TARGET(Help ALL |