From 3cbfa4318fc6b43c27e0d1302a2a59cfea4b6e68 Mon Sep 17 00:00:00 2001 From: theirix Date: Fri, 9 Oct 2020 02:22:15 +0300 Subject: [PATCH] Put back handling DISABLE_STRING_VIEW (#609) * Put back handling DISABLE_STRING_VIEW * Add HAS_DEDUCTION_GUIDES to interface library target --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d0baf60..012512a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,7 +94,7 @@ else() target_compile_definitions( date INTERFACE ONLY_C_LOCALE=0 ) endif() if ( DISABLE_STRING_VIEW ) - target_compile_definitions( date INTERFACE HAS_STRING_VIEW=0 ) + target_compile_definitions( date INTERFACE HAS_STRING_VIEW=0 -DHAS_DEDUCTION_GUIDES=0 ) endif() #[===================================================================[