6 lines
209 B
CMake
6 lines
209 B
CMake
|
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/")
|
||
|
message(STATUS "CMAKE_CURRENT_SOURCE_DIR exists, tested with trailing slash")
|
||
|
else()
|
||
|
message(FATAL_ERROR "CMAKE_CURRENT_SOURCE_DIR does not exist!")
|
||
|
endif()
|