|
@@ -973,7 +973,7 @@ macro (setup_target)
|
|
|
endif ()
|
|
endif ()
|
|
|
|
|
|
|
|
# Workaround CMake/Xcode generator bug where it always appends '/build' path element to SYMROOT attribute and as such the items in Products are always rendered as red as if they are not yet built
|
|
# Workaround CMake/Xcode generator bug where it always appends '/build' path element to SYMROOT attribute and as such the items in Products are always rendered as red as if they are not yet built
|
|
|
- if (XCODE AND NOT CMAKE_PROJECT_NAME MATCHES ^ExternalProject-)
|
|
|
|
|
|
|
+ if (XCODE AND NOT CMAKE_PROJECT_NAME MATCHES ^Urho3D-ExternalProject-)
|
|
|
file (MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/build)
|
|
file (MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/build)
|
|
|
get_target_property (LOCATION ${TARGET_NAME} LOCATION)
|
|
get_target_property (LOCATION ${TARGET_NAME} LOCATION)
|
|
|
string (REGEX REPLACE "^.*\\$\\(CONFIGURATION\\)" $(CONFIGURATION) SYMLINK ${LOCATION})
|
|
string (REGEX REPLACE "^.*\\$\\(CONFIGURATION\\)" $(CONFIGURATION) SYMLINK ${LOCATION})
|
|
@@ -1633,7 +1633,7 @@ macro (install_header_files)
|
|
|
if (NOT ARG_DESTINATION)
|
|
if (NOT ARG_DESTINATION)
|
|
|
message (FATAL_ERROR "Couldn't setup install command because the install destination is not specified.")
|
|
message (FATAL_ERROR "Couldn't setup install command because the install destination is not specified.")
|
|
|
endif ()
|
|
endif ()
|
|
|
- if (NOT ARG_BUILD_TREE_ONLY AND NOT CMAKE_PROJECT_NAME MATCHES ^ExternalProject-)
|
|
|
|
|
|
|
+ if (NOT ARG_BUILD_TREE_ONLY AND NOT CMAKE_PROJECT_NAME MATCHES ^Urho3D-ExternalProject-)
|
|
|
install (${INSTALL_TYPE} ${INSTALL_SOURCES} DESTINATION ${ARG_DESTINATION} ${INSTALL_MATCHING})
|
|
install (${INSTALL_TYPE} ${INSTALL_SOURCES} DESTINATION ${ARG_DESTINATION} ${INSTALL_MATCHING})
|
|
|
endif ()
|
|
endif ()
|
|
|
|
|
|