handle custom platform
This commit is contained in:
parent
0748dc2d1e
commit
30ccc969de
1 changed files with 3514 additions and 10 deletions
9
cmake/CustomPlatform.cmake
Normal file
9
cmake/CustomPlatform.cmake
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
macro(custom_platform_include_if_exists file)
|
||||
if("${PLATFORM}" MATCHES "Custom")
|
||||
if (EXISTS "${PLATFORM_CUSTOM_ROOT_DIR}/cmake/${file}.cmake")
|
||||
include("${PLATFORM_CUSTOM_ROOT_DIR}/cmake/${file}.cmake")
|
||||
else ()
|
||||
message(STATUS "No file ${PLATFORM_CUSTOM_ROOT_DIR}/cmake/${file}.cmake detected... skipped")
|
||||
endif ()
|
||||
endif()
|
||||
endmacro()
|
||||
Loading…
Reference in a new issue