From e6cc75f8a6710170c7fa95934e1447cc7bef73fd Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Mon, 15 May 2023 16:02:45 -0600 Subject: [PATCH] Fix how we specify CATCH_CONFIG_FAST_COMPILE Fixes a warning that was emitted about how we were doing this wrong after CMake policy 0077 was added. --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 2d093f33..f8c5bf0d 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -3,7 +3,7 @@ include(FetchContent) add_subdirectory(install) set_target_warnings(test-sfml-install) -set(CATCH_CONFIG_FAST_COMPILE ON) +set(CATCH_CONFIG_FAST_COMPILE ON CACHE BOOL "") FetchContent_Declare(Catch2 GIT_REPOSITORY https://github.com/catchorg/Catch2.git GIT_TAG v3.3.2)