From e5a7d968a61bb57dc9eafefb7edee8e99e533a8a Mon Sep 17 00:00:00 2001 From: Lephe Date: Wed, 27 Jan 2021 20:48:59 +0100 Subject: [PATCH] cmake: declare assets through the fxSDK utility --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c5e4479..d80cd01 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,9 +100,7 @@ set(SOURCES_CG set(ASSETS_FX src/font5x7.png) set(ASSETS_CG src/font8x9.png) -set_source_files_properties(${ASSETS_FX} ${ASSETS_CG} PROPERTIES - LANGUAGE FXCONV - OBJECT_DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/src/fxconv-metadata.txt") +fxconv_declare_assets(${ASSETS_FX} ${ASSETS_CG}) include_directories("${PROJECT_SOURCE_DIR}/include" "${PROJECT_BINARY_DIR}/include") add_compile_options(-Wall -Wextra -std=c11 -Os -fstrict-volatile-bitfields)