File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +22
-2
lines changed
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.13 ...4.0 )
1
+ cmake_minimum_required (VERSION 3.23 ...4.0 )
2
2
3
3
project (libtcod_samples C CXX )
4
4
@@ -152,3 +152,23 @@ if (EMSCRIPTEN)
152
152
SUFFIX ".html"
153
153
)
154
154
endif ()
155
+
156
+ if (LIBTCOD_INSTALL AND NOT EMSCRIPTEN )
157
+ install (
158
+ TARGETS samples_c samples_cpp frost hmtool navier rad ripples weather worldgen
159
+ RUNTIME_DEPENDENCIES
160
+ PRE_EXCLUDE_REGEXES "api-ms-" "ext-ms-"
161
+ POST_EXCLUDE_REGEXES
162
+ [[.*system32.*\.dll]]
163
+ RUNTIME
164
+ FRAMEWORK DESTINATION ${CMAKE_INSTALL_BINDIR} # No clue what the correct path is for this is
165
+ )
166
+ install (DIRECTORY
167
+ ${CMAKE_CURRENT_SOURCE_DIR} /../data
168
+ DESTINATION ${CMAKE_INSTALL_BINDIR}
169
+ )
170
+ install (FILES
171
+ ${CMAKE_CURRENT_SOURCE_DIR} /../terminal.png
172
+ DESTINATION ${CMAKE_INSTALL_BINDIR}
173
+ )
174
+ endif ()
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.13 ...4.0 )
1
+ cmake_minimum_required (VERSION 3.23 ...4.0 )
2
2
project (PackageTest CXX )
3
3
4
4
set (_IMPORT_CHECK_TARGETS "" ) # Suppress undefined variable in Catch2Targets.cmake.
You can’t perform that action at this time.
0 commit comments