From f65d6e3dc77fdeb8299bdb47794859061e3449f8 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Mon, 19 Sep 2016 16:37:31 -0700 Subject: [PATCH] [stb] Modify port file to not create empty dirs or copy the test dir --- ports/stb/portfile.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()