cmake: allow assets at root of project in fxconv_declare_assets()

pull/9/head
Lephenixnoir 9 months ago
parent b777fe76f6
commit 9e097109bc
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
  1. 1
      fxsdk/cmake/Fxconv.cmake

@ -11,6 +11,7 @@ function(fxconv_declare_assets)
# Set up a dependency to the local fxconv-metadata.txt
if(DEFINED CONV_WITH_METADATA)
get_filename_component(DIR "${ASSET}" DIRECTORY)
get_filename_component(DIR "${DIR}" ABSOLUTE)
set(METADATA "${DIR}/fxconv-metadata.txt")
get_filename_component(METADATA "${METADATA}" ABSOLUTE
BASE_DIR "${CMAKE_CURRENT_SOURCE_DIR}")

Loading…
Cancel
Save