mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-02 20:30:11 +01:00
Fix check of cmake version (#2672)
Verify cmake version in Foundation library build.
This commit is contained in:
parent
196540ce34
commit
02d5743a4b
@ -114,7 +114,7 @@ target_compile_features(Foundation
|
||||
PUBLIC
|
||||
$<$<NOT:$<BOOL:${DISABLE_CPP11}>>:cxx_defaulted_move_initializers>
|
||||
)
|
||||
if(NOT DISABLE_CPP14 AND CMAKE_VERSION VERSION_GREATER 3.7)
|
||||
if(NOT DISABLE_CPP14 AND CMAKE_VERSION VERSION_GREATER "3.8")
|
||||
target_compile_features(Foundation PUBLIC cxx_std_14)
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user