File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -334,15 +334,6 @@ else()
334
334
install (TARGETS supertux2 DESTINATION ${INSTALL_SUBDIR_BIN} )
335
335
endif ()
336
336
337
- if (WIN32 )
338
- get_property (SQUIRREL_LIB_PATH TARGET squirrel::squirrel PROPERTY IMPORTED_LOCATION )
339
- get_property (SQSTDLIB_LIB_PATH TARGET squirrel::sqstdlib PROPERTY IMPORTED_LOCATION )
340
- install (FILES ${SQUIRREL_LIB_PATH} ${SQSTDLIB_LIB_PATH} DESTINATION ${INSTALL_SUBDIR_BIN} )
341
-
342
- get_property (PHYSFS_LIB_PATH TARGET physfs PROPERTY IMPORTED_LOCATION )
343
- install (FILES ${PHYSFS_LIB_PATH} DESTINATION ${INSTALL_SUBDIR_BIN} )
344
- endif ()
345
-
346
337
if (EMSCRIPTEN)
347
338
configure_file (${CMAKE_CURRENT_SOURCE_DIR} /mk/emscripten/template.html.in ${CMAKE_CURRENT_BINARY_DIR} /template.html)
348
339
configure_file (${CMAKE_CURRENT_SOURCE_DIR} /mk/emscripten/supertux2.png ${CMAKE_CURRENT_BINARY_DIR} /supertux2.png COPYONLY )
Original file line number Diff line number Diff line change @@ -69,6 +69,11 @@ else()
69
69
endif ()
70
70
71
71
add_dependencies (LibPhysfs physfs_project)
72
+
73
+ if (WIN32 )
74
+ get_property (PHYSFS_LIB_PATH TARGET LibPhysfs PROPERTY IMPORTED_LOCATION )
75
+ install (FILES ${PHYSFS_LIB_PATH} DESTINATION "${INSTALL_SUBDIR_BIN} " )
76
+ endif ()
72
77
endif ()
73
78
74
79
mark_as_advanced (
Original file line number Diff line number Diff line change @@ -72,6 +72,12 @@ else()
72
72
73
73
add_dependencies (LibSquirrel squirrel_project)
74
74
add_dependencies (LibSqstdlib squirrel_project)
75
+
76
+ if (WIN32 )
77
+ get_property (SQUIRREL_LIB_PATH TARGET LibSquirrel PROPERTY IMPORTED_LOCATION )
78
+ get_property (SQSTDLIB_LIB_PATH TARGET LibSqstdlib PROPERTY IMPORTED_LOCATION )
79
+ install (FILES ${SQUIRREL_LIB_PATH} ${SQSTDLIB_LIB_PATH} DESTINATION "${INSTALL_SUBDIR_BIN} " )
80
+ endif ()
75
81
endif ()
76
82
77
83
# EOF #
You can’t perform that action at this time.
0 commit comments