From 7077662e328c79172a2e8503f1821a130b781a02 Mon Sep 17 00:00:00 2001 From: Diadlo Date: Sun, 6 Aug 2017 14:28:16 +0300 Subject: [PATCH] Replace include(CTest) on enable_testing() CTest include generate a lot of unused targets --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b414ae7..f94555fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")