Add amuse-gui .rc in CMake

This commit is contained in:
Jack Andersen 2018-03-23 11:54:52 -10:00
parent 4146cdd049
commit 912eb7950c
1 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,14 @@ find_package(Qt5Widgets)
find_package(Qt5Network)
find_package(Qt5Xml)
if(WIN32)
list(APPEND PLAT_SRCS platforms/win/amuse-gui.rc platforms/win/amuse-gui.manifest)
elseif(APPLE)
list(APPEND PLAT_SRCS platforms/mac/mainicon.icns)
set_source_files_properties(platforms/mac/mainicon.icns PROPERTIES
MACOSX_PACKAGE_LOCATION Resources)
endif()
add_subdirectory(platforms/freedesktop)
declare_qticon_target()
list(APPEND PLAT_SRCS mainicon_qt.cpp)