From 69055884259b7cc8a2ef6050f5735e099a08e3bb Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sat, 11 Apr 2020 23:54:43 -0400 Subject: [PATCH] Remove cmake custom --- CMakeLists.txt | 7 ++++--- cmake/CTestCustom.cmake | 3 --- 2 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 cmake/CTestCustom.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 66c4215..29f4c1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,9 +6,6 @@ project (raylib-cpp HOMEPAGE_URL "https://github.com/robloach/raylib-cpp" LANGUAGES C CXX) -# CMake configuration -configure_file(${CMAKE_SOURCE_DIR}/cmake/CTestCustom.cmake ${CMAKE_BINARY_DIR}) - # raylib find_package(raylib 3.0.0 QUIET) if (NOT raylib_FOUND) @@ -38,5 +35,9 @@ endif() include(CTest) enable_testing() if(BUILD_TESTING) + set(CTEST_CUSTOM_TESTS_IGNORE + pkg-config--static + ) + add_subdirectory(tests) endif() diff --git a/cmake/CTestCustom.cmake b/cmake/CTestCustom.cmake deleted file mode 100644 index 4cf1ea3..0000000 --- a/cmake/CTestCustom.cmake +++ /dev/null @@ -1,3 +0,0 @@ -set(CTEST_CUSTOM_TESTS_IGNORE - pkg-config--static -)