You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakeLists.txt
+6-12Lines changed: 6 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
2
-
CMAKE_MINIMUM_REQUIRED(VERSION3.9)
2
+
CMAKE_MINIMUM_REQUIRED(VERSION3.21)
3
3
set_property(GLOBALPROPERTY USE_FOLDERS ON)
4
4
5
5
# Make sure the source and binary directory are not the sample
@@ -8,12 +8,12 @@ if ("${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
8
8
endif()
9
9
10
10
include(cmake/util.cmake)
11
-
include(cmake/embed_file.cmake)
12
11
13
12
# Set a few policies
14
13
set_policy(CMP0051NEW)
15
14
set_policy(CMP0053NEW)
16
15
set_policy(CMP0054NEW)
16
+
set_policy(CMP0091NEW) # Enable use of CMAKE_MSVC_RUNTIME_LIBRARY
17
17
18
18
SET(FSO_PROJECT_DESCRIPTION "Open source project based on the original FreeSpace 2 source code.")
19
19
@@ -47,11 +47,6 @@ endif()
47
47
48
48
PROJECT(FS2_Open LANGUAGES${FSO_LANGUAGES})
49
49
50
-
IF(CMAKE_CROSSCOMPILING)
51
-
SET(IMPORT_EXE_DIR "IMPORT_EXE_DIR-NOTFOUND"CACHEFILEPATH"Required for a cross compiling build, point to binary directory of a cmake build for the real OS")
0 commit comments