File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -216,8 +216,10 @@ add_custom_command(TARGET ngscopeclient POST_BUILD
216216 COMMAND_EXPAND_LISTS
217217 )
218218endif ()
219+
219220###############################################################################
220221# Installation
222+
221223install (TARGETS ngscopeclient RUNTIME )
222224install (DIRECTORY ${CMAKE_SOURCE_DIR} /src/ngscopeclient/fonts
223225 DESTINATION share/ngscopeclient)
@@ -246,6 +248,14 @@ if(LINUX)
246248 DESTINATION share/icons/hicolor/256x256/apps RENAME ngscopeclient.png)
247249endif ()
248250
251+ if (APPLE )
252+ set (CMAKE_INSTALL_PREFIX ${CMAKE_BINARY_DIR} )
253+ install (CODE [[
254+ include(BundleUtilities)
255+ fixup_bundle("${CMAKE_INSTALL_PREFIX}/ngscopeclient-${NGSCOPECLIENT_VERSION}.app" "" "")
256+ ]] COMPONENT Runtime )
257+ endif ()
258+
249259# ngscopeclient Windows portable zip/MSI installer build
250260if (WIXPATH AND WIN32 )
251261 # Run the command to get /mingw64/bin full path using where gcc
You can’t perform that action at this time.
0 commit comments