Merge pull request #3936 from OliverKlages/rttr-fix

[rttr] fixed rttr not building on windows (#3263)
This commit is contained in:
Alexander Karatarakis 2018-07-31 18:52:11 -07:00 committed by GitHub
commit 775d497d7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,14 @@ if(REL_EXES)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/rttr)
file(COPY ${REL_EXES} DESTINATION ${CURRENT_PACKAGES_DIR}/tools/rttr)
endif()
file(REMOVE ${REL_EXES} ${DBG_EXES})
if(REL_EXES)
file(REMOVE ${REL_EXES})
endif(REL_EXES)
if(DBG_EXES)
file(REMOVE ${DBG_EXES})
endif(DBG_EXES)
#Handle copyright
file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/rttr)