mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-15 07:28:16 +08:00
Bring back C++17 minimal requirement. (#475)
This commit is contained in:

committed by
ArthurSonzogni

parent
1d76a2321c
commit
c8ec151154
@@ -9,7 +9,6 @@ endif()
|
||||
function(ftxui_set_options library)
|
||||
set_target_properties(${library} PROPERTIES
|
||||
VERSION ${PROJECT_VERSION}
|
||||
CXX_STANDARD 20
|
||||
OUTPUT_NAME "ftxui-${library}"
|
||||
)
|
||||
|
||||
|
@@ -71,6 +71,7 @@ target_include_directories(tests
|
||||
PRIVATE src
|
||||
)
|
||||
ftxui_set_options(tests)
|
||||
target_compile_features(tests PUBLIC cxx_std_20)
|
||||
|
||||
include(GoogleTest)
|
||||
gtest_discover_tests(tests
|
||||
|
Reference in New Issue
Block a user