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:
Manolo Gouy 2015-12-29 16:50:50 +00:00
parent 8ac33d6b71
commit bb4f485708

View File

@ -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})