mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-28 04:23:37 +01:00
cmake: allow assets at root of project in fxconv_declare_assets()
This commit is contained in:
parent
b777fe76f6
commit
9e097109bc
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue