From 2408d46a3d7f7bac617f6b6e9b3a7674cd42a70f Mon Sep 17 00:00:00 2001 From: Evgeni Raikhel Date: Sun, 29 Mar 2020 23:01:11 +0300 Subject: [PATCH] Downgrade cxx_11 property for compression target - Cmake 3.5.1 non-compatibility --- src/compression/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/compression/CMakeLists.txt b/src/compression/CMakeLists.txt index 9f959c04dc..0d1093f65b 100644 --- a/src/compression/CMakeLists.txt +++ b/src/compression/CMakeLists.txt @@ -25,8 +25,9 @@ include_directories(${PROJECT_NAME} ../../third-party/easyloggingpp/src ) -target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11) -#set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 11) +#Disabled due to CMake 3.5.1 compatibility +#target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11) +set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 11) add_dependencies(${PROJECT_NAME} libjpeg-turbo