From 5fd723c1db20ee3af21d51c58283aef3ddf92f29 Mon Sep 17 00:00:00 2001 From: Andrew Karpow Date: Sun, 19 Oct 2014 16:35:16 +0200 Subject: [PATCH] fixed CMake warning CMP0026 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1