aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cmake/vcpkg_build_make.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/cmake/vcpkg_build_make.cmake b/scripts/cmake/vcpkg_build_make.cmake
index a8b4a5694..5ebfe21f7 100755
--- a/scripts/cmake/vcpkg_build_make.cmake
+++ b/scripts/cmake/vcpkg_build_make.cmake
@@ -238,6 +238,12 @@ function(vcpkg_build_make)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}_tmp")
endif()
+ # Remove libtool files since they contain absolute paths and are not necessary.
+ file(GLOB_RECURSE LIBTOOL_FILES "${CURRENT_PACKAGES_DIR}/**/*.la")
+ if(LIBTOOL_FILES)
+ file(REMOVE ${LIBTOOL_FILES})
+ endif()
+
if (CMAKE_HOST_WIN32)
set(ENV{PATH} "${PATH_GLOBAL}")
endif()