mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
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.
This commit is contained in:
parent
9855552f64
commit
e6cc75f8a6
@ -3,7 +3,7 @@ include(FetchContent)
|
|||||||
add_subdirectory(install)
|
add_subdirectory(install)
|
||||||
set_target_warnings(test-sfml-install)
|
set_target_warnings(test-sfml-install)
|
||||||
|
|
||||||
set(CATCH_CONFIG_FAST_COMPILE ON)
|
set(CATCH_CONFIG_FAST_COMPILE ON CACHE BOOL "")
|
||||||
FetchContent_Declare(Catch2
|
FetchContent_Declare(Catch2
|
||||||
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
|
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
|
||||||
GIT_TAG v3.3.2)
|
GIT_TAG v3.3.2)
|
||||||
|
Loading…
Reference in New Issue
Block a user