We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d8b06b commit 4390172Copy full SHA for 4390172
CMakeLists.txt
@@ -1,7 +1,7 @@
1
# CMake setup for Unicorn 2.
2
# By Huitao Chen & Nguyen Anh Quynh, 2019-2020
3
4
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.5)
5
6
# Only required for MSVC, but we can't know the compiler at this point because we haven't
7
# called enable_language() or project(), and if we did that it would lock in the old
@@ -17,10 +17,8 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.15")
17
cmake_policy(SET CMP0092 NEW)
18
endif()
19
20
-if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.3")
21
- # Honor visibility properties for all target types.
22
- cmake_policy(SET CMP0063 NEW)
23
-endif()
+# Honor visibility properties for all target types.
+cmake_policy(SET CMP0063 NEW)
24
25
option(ZIG_BUILD "Enable zig build" OFF)
26
if(ZIG_BUILD)
0 commit comments