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
Regroup all the other options into the same module.
Also tweak some options:
- Remove ENABLE_LTO, users should simply set CMAKE_INTERPROCEDURAL_OPTIMIZATION instead.
- Make the binary and copyright install directories options instead of
forcing them on Windows.
Copy file name to clipboardExpand all lines: prboom2/CMakeLists.txt
+5-35Lines changed: 5 additions & 35 deletions
Original file line number
Diff line number
Diff line change
@@ -18,16 +18,12 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
18
18
"Debug""Release""MinSizeRel""RelWithDebInfo")
19
19
endif()
20
20
21
-
include(GNUInstallDirs)
22
-
23
21
if(POLICY CMP0099)
24
22
cmake_policy(SET CMP0099 NEW)
25
23
else()
26
24
message(WARNING "Your version of CMake is very old. This may cause linking issues if your dependencies are not in your compiler's default search paths.")
27
25
endif()
28
26
29
-
option(CMAKE_FIND_PACKAGE_PREFER_CONFIG "Search for package config before using Find modules"ON)
0 commit comments