projects
/
ympd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a98d760
)
fixed CMake warning CMP0026
author
Andrew Karpow
<andy@ndyk.de>
Sun, 19 Oct 2014 14:35:16 +0000
(16:35 +0200)
committer
Andrew Karpow
<andy@ndyk.de>
Sun, 19 Oct 2014 14:35:16 +0000
(16:35 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
751ed00
..
ad7e33a
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-29,7
+29,7
@@
file(GLOB RESOURCES
)
add_executable(mkdata htdocs/mkdata.c)
-
get_target_property(MKDATA_EXE mkdata LOCATION
)
+
set(MKDATA_EXE $<TARGET_FILE:mkdata>
)
add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/assets.c
COMMAND ${MKDATA_EXE} ${RESOURCES} > ${PROJECT_BINARY_DIR}/assets.c