mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 23:36:11 +01:00
parent
269f96e2bc
commit
1ff1f2741d
@ -4,6 +4,8 @@ cmake_minimum_required(VERSION 3.5)
|
|||||||
# disable testsuite in that case
|
# disable testsuite in that case
|
||||||
if(NOT DEFINED PROJECT_NAME)
|
if(NOT DEFINED PROJECT_NAME)
|
||||||
set(NOT_SUBPROJECT ON)
|
set(NOT_SUBPROJECT ON)
|
||||||
|
else()
|
||||||
|
set(NOT_SUBPROJECT OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Catch2's build breaks if done in-tree. You probably should not build
|
# Catch2's build breaks if done in-tree. You probably should not build
|
||||||
|
Loading…
Reference in New Issue
Block a user