diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-11-15 21:15:37 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-11-15 21:15:37 -0800 |
| commit | 4228e1e389f31b70eb7078aed99b21ad465d8aa0 (patch) | |
| tree | 37e762aa055fb65c6766d726e67048cc810eeee5 /scripts | |
| parent | 24283ec1ee019df3e43dbb9c9bf2f1d9d1263911 (diff) | |
| download | vcpkg-4228e1e389f31b70eb7078aed99b21ad465d8aa0.tar.gz vcpkg-4228e1e389f31b70eb7078aed99b21ad465d8aa0.zip | |
[llvm] Install debug targets for cmake
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/cmake/vcpkg_fixup_cmake_targets.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/cmake/vcpkg_fixup_cmake_targets.cmake b/scripts/cmake/vcpkg_fixup_cmake_targets.cmake index 22c2245c8..5bf1b2cdb 100644 --- a/scripts/cmake/vcpkg_fixup_cmake_targets.cmake +++ b/scripts/cmake/vcpkg_fixup_cmake_targets.cmake @@ -81,9 +81,11 @@ function(vcpkg_fixup_cmake_targets) file(REMOVE ${UNUSED_FILES}) endif() + # LLVM uses "LLVMExports-release.cmake" file(GLOB RELEASE_TARGETS "${RELEASE_SHARE}/*[Tt]argets-release.cmake" "${RELEASE_SHARE}/*[Cc]onfig-release.cmake" + "${RELEASE_SHARE}/*[Ee]xports-release.cmake" ) foreach(RELEASE_TARGET ${RELEASE_TARGETS}) file(READ ${RELEASE_TARGET} _contents) @@ -95,7 +97,8 @@ function(vcpkg_fixup_cmake_targets) file(GLOB DEBUG_TARGETS "${DEBUG_SHARE}/*[Tt]argets-debug.cmake" "${DEBUG_SHARE}/*[Cc]onfig-debug.cmake" - ) + "${DEBUG_SHARE}/*[Ee]xports-debug.cmake" + ) foreach(DEBUG_TARGET ${DEBUG_TARGETS}) get_filename_component(DEBUG_TARGET_NAME ${DEBUG_TARGET} NAME) |
