aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/stxxl/portfile.cmake9
1 files changed, 8 insertions, 1 deletions
diff --git a/ports/stxxl/portfile.cmake b/ports/stxxl/portfile.cmake
index f0f78573d..ec3c5531b 100644
--- a/ports/stxxl/portfile.cmake
+++ b/ports/stxxl/portfile.cmake
@@ -46,6 +46,12 @@ if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/cmake/${PORT})
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
endif()
+vcpkg_replace_string(
+ ${CURRENT_PACKAGES_DIR}/share/${PORT}/stxxl-config.cmake
+ "\${STXXL_CMAKE_DIR}/../include"
+ "\${STXXL_CMAKE_DIR}/../../include"
+)
+
if(CMAKE_HOST_WIN32)
set(EXECUTABLE_SUFFIX ".exe")
else()
@@ -60,7 +66,8 @@ file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/debug/include
${CURRENT_PACKAGES_DIR}/debug/bin
${CURRENT_PACKAGES_DIR}/debug/share
- ${CURRENT_PACKAGES_DIR}/bin)
+ ${CURRENT_PACKAGES_DIR}/bin
+)
# Handle copyright
configure_file(${SOURCE_PATH}/LICENSE_1_0.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)