Skip to content

Commit 5e84b8f

Browse files
committed
Disable CATCH_CONFIG_CPP17_STRING_VIEW
1 parent 7e4b93b commit 5e84b8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/recipes/catch2.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ endif()
66

77
message(STATUS "Third-party: creating target 'Catch2::Catch2'")
88

9-
option(CATCH_CONFIG_CPP17_STRING_VIEW "Enable support for std::string_view" ON)
9+
option(CATCH_CONFIG_CPP17_STRING_VIEW "Enable support for std::string_view" OFF)
1010
option(CATCH_INSTALL_DOCS "Install documentation alongside library" OFF)
1111
option(CATCH_INSTALL_EXTRAS "Install extras alongside library" OFF)
1212

1313
include(CPM)
14-
CPMAddPackage("gh:catchorg/Catch2@3.0.1")
14+
CPMAddPackage("gh:catchorg/Catch2@3.8.1")
1515

1616
# Folder name for IDE
1717
set_target_properties(Catch2 PROPERTIES FOLDER "ThirdParty/Catch2")

0 commit comments

Comments
 (0)