aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-09-19 16:37:31 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-09-19 16:37:31 -0700
commitf65d6e3dc77fdeb8299bdb47794859061e3449f8 (patch)
tree112a3c3b7fbf8df6a6fa97773d33ba8a3ab64664
parenta2148a30e666022eed848c65a4c089da52d87a8a (diff)
downloadvcpkg-f65d6e3dc77fdeb8299bdb47794859061e3449f8.tar.gz
vcpkg-f65d6e3dc77fdeb8299bdb47794859061e3449f8.zip
[stb] Modify port file to not create empty dirs or copy the test dir
-rw-r--r--ports/stb/portfile.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/stb/portfile.cmake b/ports/stb/portfile.cmake
index 13f5cefa3..ab990bfaf 100644
--- a/ports/stb/portfile.cmake
+++ b/ports/stb/portfile.cmake
@@ -12,5 +12,6 @@ file(COPY ${CURRENT_BUILDTREES_DIR}/src/stb/README.md DESTINATION ${CURRENT_PACK
file(RENAME ${CURRENT_PACKAGES_DIR}/share/stb/README.md ${CURRENT_PACKAGES_DIR}/share/stb/copyright)
# Copy the stb header files
-file(INSTALL ${CURRENT_BUILDTREES_DIR}/src/stb/ DESTINATION ${CURRENT_PACKAGES_DIR}/include FILES_MATCHING PATTERN "*.h")
+file(GLOB HEADER_FILES ${CURRENT_BUILDTREES_DIR}/src/stb/*.h)
+file(COPY ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include)
vcpkg_copy_pdbs()