IsDirectory.cmake 209 B

12345
  1. if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/")
  2. message(STATUS "CMAKE_CURRENT_SOURCE_DIR exists, tested with trailing slash")
  3. else()
  4. message(FATAL_ERROR "CMAKE_CURRENT_SOURCE_DIR does not exist!")
  5. endif()