mirror of https://github.com/AxioDL/amuse.git
Add amuse-gui .rc in CMake
This commit is contained in:
parent
4146cdd049
commit
912eb7950c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue