cmlib/CMLibSanitizers.cmake

12 lines
347 B
CMake
Raw Normal View History

2019-07-02 07:01:37 +00:00
if(DIRECTORY CMLIB_MODULE_DIR)
set(CMLIB_SANITIZERS_DIR "${CMLIB_MODULE_DIR}/thirdparty/sanitizers/cmake")
if(DIRECTORY CMLIB_SANITIZERS_DIR)
list(APPEND CMAKE_MODULE_PATH ${CMLIB_SANITIZERS_DIR})
else()
message(WARNING "Sanitizers submodule not found.")
endif()
else()
message(FATAL_ERROR "CMLib directory not found.")
endif()