From: Andrew Karpow Date: Sun, 19 Oct 2014 14:35:16 +0000 (+0200) Subject: fixed CMake warning CMP0026 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=5fd723c1db20ee3af21d51c58283aef3ddf92f29;p=ympd.git fixed CMake warning CMP0026 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 751ed00..ad7e33a 100644 --- 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 $) add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/assets.c COMMAND ${MKDATA_EXE} ${RESOURCES} > ${PROJECT_BINARY_DIR}/assets.c