Commit b9a71409 authored by Jan Möbius's avatar Jan Möbius

Added warnings for branding

parent 27456843
...@@ -234,6 +234,7 @@ if (APPLE) ...@@ -234,6 +234,7 @@ if (APPLE)
else() else()
# Use default icon # Use default icon
set ( APPLE_BUNDLE_ICON ${BRANDING_DIRECTORY}/../Icons/OpenFlipper_Icon.icns CACHE FILEPATH "Path to the Bundle Icon" ) set ( APPLE_BUNDLE_ICON ${BRANDING_DIRECTORY}/../Icons/OpenFlipper_Icon.icns CACHE FILEPATH "Path to the Bundle Icon" )
message (WARNING "Branding directory found but no branding icon called OpenFlipper_Icon.icns. Using default icon! You can set your icon via APPLE_BUNDLE_ICON")
endif() endif()
ENDIF(NOT APPLE_BUNDLE_ICON ) ENDIF(NOT APPLE_BUNDLE_ICON )
...@@ -245,6 +246,7 @@ if (APPLE) ...@@ -245,6 +246,7 @@ if (APPLE)
else ( EXISTS ${BRANDING_DIRECTORY}/mac/Info.plist ) else ( EXISTS ${BRANDING_DIRECTORY}/mac/Info.plist )
# Take default plist from OpenFlipper # Take default plist from OpenFlipper
set ( APPLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/../installer/mac/Info.plist CACHE FILEPATH "Path to the Info.plist file for Bundle" ) set ( APPLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/../installer/mac/Info.plist CACHE FILEPATH "Path to the Info.plist file for Bundle" )
message (WARNING "Branding directory found but no branding plist file found. Using default. You can set your own plist via APPLE_INFO_PLIST")
endif( EXISTS ${BRANDING_DIRECTORY}/mac/Info.plist ) endif( EXISTS ${BRANDING_DIRECTORY}/mac/Info.plist )
ENDIF(NOT APPLE_INFO_PLIST ) ENDIF(NOT APPLE_INFO_PLIST )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment