raylib/cmake/CustomPlatform.cmake
Yan Pujante 0cc7828d97 handle custom platform
removed unecessary section

removed external
2023-12-02 12:47:38 -08:00

9 lines
360 B
CMake

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()