File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.1 )
1
+ cmake_minimum_required (VERSION 3.13 )
2
2
3
3
if (CMAKE_VERSION VERSION_GREATER 3.14)
4
4
# MSVC runtime library flags are selected by the CMAKE_MSVC_RUNTIME_LIBRARY abstraction.
@@ -203,11 +203,9 @@ else()
203
203
try_add_compile_option(-Wundef)
204
204
endif ()
205
205
206
- if (CMAKE_VERSION VERSION_GREATER 3.2)
207
- # Honor visibility properties for all target types.
208
- # See: https://cmake.org/cmake/help/latest/policy/CMP0063.html
209
- cmake_policy (SET CMP0063 NEW)
210
- endif ()
206
+ # Honor visibility properties for all target types.
207
+ # See: https://cmake.org/cmake/help/latest/policy/CMP0063.html
208
+ cmake_policy (SET CMP0063 NEW)
211
209
set (CMAKE_C_VISIBILITY_PRESET hidden)
212
210
213
211
# Ask CTest to create a "check" target (e.g., make check) as alias for the "test" target.
You can’t perform that action at this time.
0 commit comments