diff options
Diffstat (limited to 'CMake')
| -rw-r--r-- | CMake/macros.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMake/macros.cmake b/CMake/macros.cmake index 49ec49d21..86b609d15 100644 --- a/CMake/macros.cmake +++ b/CMake/macros.cmake @@ -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}) |
