We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7d1eba commit 75d70e2Copy full SHA for 75d70e2
CMakeLists.txt
@@ -31,7 +31,7 @@
31
# make
32
#
33
34
-cmake_minimum_required(VERSION 3.19)
+cmake_minimum_required(VERSION 3.27)
35
36
## Project name to use as command prefix.
37
mk/cmake/SuperTux/BuildInstall.cmake
@@ -58,12 +58,15 @@ endif()
58
if(UBUNTU_TOUCH)
59
install(TARGETS supertux2
60
DESTINATION ".")
61
-else()
+elseif(WIN32)
62
63
DESTINATION ${INSTALL_SUBDIR_BIN}
64
RUNTIME_DEPENDENCIES PRE_EXCLUDE_REGEXES "api-ms-" "ext-ms-"
65
POST_EXCLUDE_REGEXES ".*system32/.*\\.dll"
66
DIRECTORIES $<TARGET_RUNTIME_DLL_DIRS:supertux2>)
67
+else()
68
+ install(TARGETS supertux2
69
+ DESTINATION ${INSTALL_SUBDIR_BIN})
70
endif()
71
72
if(EMSCRIPTEN)
0 commit comments