diff --git a/CMakeLists.txt b/CMakeLists.txt index 1a25daa..12f0e46 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,6 +100,8 @@ else() endif() if ( DISABLE_STRING_VIEW ) target_compile_definitions( date INTERFACE HAS_STRING_VIEW=0 -DHAS_DEDUCTION_GUIDES=0 ) +else() + target_compile_definitions( date INTERFACE HAS_STRING_VIEW=1 ) endif() #[===================================================================[