mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
parent
31537c43d9
commit
bfb4ee1597
@ -8,6 +8,10 @@ endif()
|
|||||||
|
|
||||||
project(Catch2 LANGUAGES CXX VERSION 2.7.2)
|
project(Catch2 LANGUAGES CXX VERSION 2.7.2)
|
||||||
|
|
||||||
|
if (CMAKE_BINARY_DIR STREQUAL CMAKE_SOURCE_DIR)
|
||||||
|
message(FATAL_ERROR "Building in-source is not supported! Create a build dir and remove ${CMAKE_SOURCE_DIR}/CMakeCache.txt")
|
||||||
|
endif()
|
||||||
|
|
||||||
# Provide path for scripts
|
# Provide path for scripts
|
||||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/CMake")
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/CMake")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user