1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-12-28 03:40:26 +00:00

fixed CMake warning CMP0026

This commit is contained in:
Andrew Karpow 2014-10-19 16:35:16 +02:00
parent a98d760ddd
commit 5fd723c1db

View File

@ -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