mirror of
https://github.com/ZDoom/ZMusic.git
synced 2025-01-29 20:00:53 +00:00
- demote IMPORT_EXECUTABLES to a warning, address issue #19
This commit is contained in:
parent
9e950c164b
commit
d9702317ba
1 changed files with 7 additions and 1 deletions
|
@ -26,7 +26,13 @@ endif()
|
|||
|
||||
if(CMAKE_CROSSCOMPILING)
|
||||
set(IMPORT_EXECUTABLES "IMPORTFILE-NOTFOUND" CACHE FILEPATH "Export file from native build.")
|
||||
include(${IMPORT_EXECUTABLES})
|
||||
|
||||
# todo: if compile-time executables should ever be required, this must be promoted to a fatal error
|
||||
if (IMPORT_EXECUTABLES STREQUAL "IMPORTFILE-NOTFOUND")
|
||||
message(WARNING "IMPORT_EXECUTABLES not set!")
|
||||
else()
|
||||
include(${IMPORT_EXECUTABLES})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue