Install Apple specifics
parent
e831e2983a
commit
71c237b9da
|
@ -65,10 +65,15 @@ endif()
|
|||
|
||||
# Additional install files
|
||||
if(WIN32)
|
||||
# Windows specific
|
||||
# Microsoft Windows specific
|
||||
install(DIRECTORY packaging_win/ DESTINATION .)
|
||||
install(PROGRAMS go-ipfs/ipfs.exe DESTINATION bin)
|
||||
else()
|
||||
elseif(APPLE)
|
||||
# Apple macOS specific
|
||||
# TODO: Check what kind of packaging do we additional need?
|
||||
# I guess Adwaita & hicolor icons should be enough
|
||||
install(PROGRAMS go-ipfs/ipfs-darwin DESTINATION bin)
|
||||
elseif(UNIX)
|
||||
# UNIX specific
|
||||
install(FILES misc/libreweb-browser.desktop DESTINATION share/applications)
|
||||
install(PROGRAMS go-ipfs/ipfs DESTINATION bin)
|
||||
|
|
|
@ -52,8 +52,8 @@ set(SOURCES
|
|||
# Install and recompile glib gsettings schema
|
||||
add_schema("org.libreweb.browser.gschema.xml" GSCHEMA_RING)
|
||||
|
||||
# Only for Windows
|
||||
if(WIN32)
|
||||
# For Windows & macOS
|
||||
if(WIN32 OR APPLE)
|
||||
# Windows Schema files
|
||||
set(WINDOWS_SCHEMA_FILES
|
||||
org.gtk.Settings.ColorChooser.gschema.xml
|
||||
|
@ -65,7 +65,9 @@ if(WIN32)
|
|||
foreach(SCHEMA_FILE ${WINDOWS_SCHEMA_FILES})
|
||||
add_schema(${SCHEMA_FILE} GSCHEMA_RING)
|
||||
endforeach(SCHEMA_FILE)
|
||||
|
||||
endif()
|
||||
# Only for Windows
|
||||
if(WIN32)
|
||||
# Text format Windows resource file for Resource Compiler (rc)
|
||||
set(WINDOWS_RES_IN ${CMAKE_SOURCE_DIR}/misc/libreweb.rc.in)
|
||||
set(WINDOWS_RES ${CMAKE_CURRENT_BINARY_DIR}/libreweb.rc)
|
||||
|
|
Loading…
Reference in New Issue