kernel: Actually use config.cmake
Looks like file(EXISTS) needs a full path.
This commit is contained in:
parent
b920ffee42
commit
0b488c1232
@ -105,7 +105,8 @@ if(MOON_DEBUG)
|
|||||||
include(debug.cmake)
|
include(debug.cmake)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(EXISTS config.cmake)
|
if(EXISTS ${CMAKE_CURRENT_LIST_DIR}/config.cmake)
|
||||||
|
message(STATUS "Using custom config.cmake file")
|
||||||
include(config.cmake)
|
include(config.cmake)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user