From 05d18f2bc5a85807ce404ff839d2633b90c5c0e5 Mon Sep 17 00:00:00 2001 From: Jodi the Tigger Date: Wed, 9 Sep 2020 13:35:50 +1200 Subject: [PATCH] Fix -D build flags containing escaped quotes (#645) Fixes #638 Done by removed unneeded quotes from cmake's add_compiler_definitions() --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e8b4de0..b9342c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -236,9 +236,9 @@ target_link_libraries(${PROJECT_NAME} ${_INTERFACE_OR_PUBLIC} # Set the definitions to enable optional features target_compile_definitions(${PROJECT_NAME} ${_INTERFACE_OR_PUBLIC} - $<$:"CPPHTTPLIB_BROTLI_SUPPORT"> - $<$:"CPPHTTPLIB_ZLIB_SUPPORT"> - $<$:"CPPHTTPLIB_OPENSSL_SUPPORT"> + $<$:CPPHTTPLIB_BROTLI_SUPPORT> + $<$:CPPHTTPLIB_ZLIB_SUPPORT> + $<$:CPPHTTPLIB_OPENSSL_SUPPORT> ) # Cmake's find_package search path is different based on the system