Skip to content

Commit

Permalink
add fpic to dependencies in overlay port
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxxen committed Nov 25, 2024
1 parent e1964ba commit 9bd0875
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions vcpkg_ports/expat/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ vcpkg_cmake_configure(
-DEXPAT_SHARED_LIBS=${EXPAT_LINKAGE}
-DEXPAT_MSVC_STATIC_CRT=${EXPAT_CRT_LINKAGE}
-DEXPAT_BUILD_PKGCONFIG=ON
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
MAYBE_UNUSED_VARIABLES
EXPAT_MSVC_STATIC_CRT
)
Expand Down
1 change: 1 addition & 0 deletions vcpkg_ports/minizip-ng/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ vcpkg_cmake_configure(
-DMZ_FETCH_LIBS=OFF
-DMZ_LIB_SUFFIX=-ng
-DMZ_ICONV=OFF
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
)

vcpkg_cmake_install()
Expand Down
1 change: 1 addition & 0 deletions vcpkg_ports/zlib/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ vcpkg_cmake_configure(
OPTIONS
-DSKIP_INSTALL_FILES=ON
-DZLIB_BUILD_EXAMPLES=OFF
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
OPTIONS_DEBUG
-DSKIP_INSTALL_HEADERS=ON
)
Expand Down

0 comments on commit 9bd0875

Please sign in to comment.