Skip to content

Commit

Permalink
Downgrade cxx_11 property for compression target - Cmake 3.5.1 non-co…
Browse files Browse the repository at this point in the history
…mpatibility
  • Loading branch information
ev-mp committed Mar 29, 2020
1 parent 6d3d3d0 commit 2408d46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/compression/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2408d46

Please sign in to comment.