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:
parent
a98d760ddd
commit
5fd723c1db
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user