Replace include(CTest) on enable_testing()

CTest include generate a lot of unused targets
This commit is contained in:
Diadlo 2017-08-06 14:28:16 +03:00
parent 4ceaad505d
commit 7077662e32
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727

View File

@ -41,10 +41,11 @@ include(AddCompilerFlag)
include(ApiDsl)
include(CheckCCompilerFlag)
include(CheckCXXCompilerFlag)
include(CTest)
include(MacRpath)
include(StrictAbi)
enable_testing()
set(CMAKE_MACOSX_RPATH ON)
if(NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")