Using default Info.plist (both qmake and cmake)

This commit is contained in:
alemuntoni 2020-02-10 11:53:33 +01:00
parent 9f8f543638
commit 09f778701d
2 changed files with 6 additions and 6 deletions

View File

@ -73,10 +73,10 @@ set(UI
ui/savesnapshotDialog.ui)
set(CMAKE_AUTOUIC_SEARCH_PATHS ${CMAKE_CURRENT_SOURCE_DIR}/ui)
if(APPLE)
list(APPEND SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/../install/macx/info.plist
images/meshlab.icns)
endif()
#if(APPLE)
# list(APPEND SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/../install/macx/info.plist
# images/meshlab.icns)
#endif()
if(WIN32)
list(APPEND SOURCES meshlab.rc)

View File

@ -103,7 +103,7 @@ win32:RC_FILE = meshlab.rc
# ## the xml info list
# ## the next time the app open a new extension
QMAKE_INFO_PLIST = Info.plist
#QMAKE_INFO_PLIST = Info.plist
# to add MacOS icon
ICON = images/meshlab.icns
@ -139,7 +139,7 @@ macx:QMAKE_POST_LINK = "\
#CONFIG(release,debug | release) {
# win32-msvc2005:release:LIBS += -L../common/release -lcommon
# win32-msvc2008:release:LIBS += -L../common/release -lcommon
# win32-g++:release:LIBS += -L../common/release -lcommon
# win32-g++:release:LIBS += -L../common/release -lcommon
#}
linux:LIBS += \