fixed not installed icns in mac os x bundle
git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@404 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
+5
-3
@@ -15,6 +15,8 @@ SET(LIBRARIES
|
||||
#include files
|
||||
INCLUDE_DIRECTORIES(${INCLUDE_DIRS})
|
||||
|
||||
SET(SRC_FILES main.cpp)
|
||||
|
||||
# For Apple set the icns file containing icons
|
||||
IF(APPLE AND BUILD_AS_BUNDLE)
|
||||
# set how it shows up in the Info.plist file
|
||||
@@ -40,11 +42,11 @@ ENDIF(WIN32)
|
||||
|
||||
# create an executable file
|
||||
IF(APPLE AND BUILD_AS_BUNDLE)
|
||||
ADD_EXECUTABLE(find_object_app MACOSX_BUNDLE main.cpp)
|
||||
ADD_EXECUTABLE(find_object_app MACOSX_BUNDLE ${SRC_FILES})
|
||||
ELSEIF(MINGW)
|
||||
ADD_EXECUTABLE(find_object_app WIN32 main.cpp)
|
||||
ADD_EXECUTABLE(find_object_app WIN32 ${SRC_FILES})
|
||||
ELSE()
|
||||
ADD_EXECUTABLE(find_object_app main.cpp)
|
||||
ADD_EXECUTABLE(find_object_app ${SRC_FILES})
|
||||
ENDIF()
|
||||
# Linking with Qt libraries
|
||||
TARGET_LINK_LIBRARIES(find_object_app find_object ${LIBRARIES})
|
||||
|
||||
Reference in New Issue
Block a user