mirror of
https://github.com/lubosz/overte.git
synced 2025-04-12 09:42:28 +02:00
copy over /tmp/hifi.dst dir for xcode qxmpp install
This commit is contained in:
parent
2463292339
commit
16c557a9c7
1 changed files with 13 additions and 0 deletions
13
cmake/externals/qxmpp/CMakeLists.txt
vendored
13
cmake/externals/qxmpp/CMakeLists.txt
vendored
|
@ -37,6 +37,19 @@ ExternalProject_Add(
|
|||
|
||||
ExternalProject_Get_Property(${EXTERNAL_NAME} INSTALL_DIR)
|
||||
|
||||
if (CMAKE_GENERATOR STREQUAL Xcode)
|
||||
find_program(DITTO_COMMAND ditto)
|
||||
|
||||
ExternalProject_Add_Step(
|
||||
${EXTERNAL_NAME}
|
||||
copy-from-xcode-install
|
||||
COMMENT "Copying from /tmp/hifi.dst${INSTALL_DIR} to move install to proper location"
|
||||
COMMAND ${DITTO_COMMAND} /tmp/hifi.dst${INSTALL_DIR} ${INSTALL_DIR}
|
||||
DEPENDEES install
|
||||
LOG 1
|
||||
)
|
||||
endif ()
|
||||
|
||||
string(TOUPPER ${EXTERNAL_NAME} EXTERNAL_NAME_UPPER)
|
||||
set(${EXTERNAL_NAME_UPPER}_INCLUDE_DIRS ${INSTALL_DIR}/include CACHE FILEPATH "Path to Qxmpp include directory")
|
||||
|
||||
|
|
Loading…
Reference in a new issue