mirror of
https://github.com/fltk/fltk.git
synced 2026-05-24 16:36:37 +08:00
Mac OS: add if(APPLE condition to Mac OS-specific target property.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10982 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+2
-2
@@ -132,9 +132,9 @@ macro(CREATE_EXAMPLE NAME SOURCES LIBRARIES)
|
||||
endif(NOT ${tname} STREQUAL "demo")
|
||||
set_target_properties(${tname} PROPERTIES RESOURCE ${RESOURCE_PATH})
|
||||
endif(APPLE AND DEFINED RESOURCE_PATH)
|
||||
if(${tname} STREQUAL "editor")
|
||||
if(APPLE AND ${tname} STREQUAL "editor")
|
||||
set_target_properties("editor" PROPERTIES MACOSX_BUNDLE_INFO_PLIST "${PROJECT_SOURCE_DIR}/ide/Xcode4/plists/editor-Info.plist" )
|
||||
endif(${tname} STREQUAL "editor")
|
||||
endif(APPLE AND ${tname} STREQUAL "editor")
|
||||
|
||||
|
||||
target_link_libraries(${tname} ${LIBRARIES})
|
||||
|
||||
Reference in New Issue
Block a user