Skip to content

Commit

Permalink
windows only
Browse files Browse the repository at this point in the history
  • Loading branch information
nicogodet authored Oct 30, 2024
1 parent b7d4153 commit da9b3d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ports/py-lxml/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ vcpkg_from_pythonhosted(
SHA512 7f8a3717645893bc6f790cc9adfb8fdab91c352dc4dc23c0ccb4af9a0d138acf9ef5054e9786af497955f10079e9242dbd63ea9ac39c33bfd71ca2fe4ef4a7c0
)

set(ENV{INCLUDE} "${CURRENT_INSTALLED_DIR}/include;$ENV{INCLUDE}")
if(VCPKG_TARGET_IS_WINDOWS)
set(ENV{INCLUDE} "${CURRENT_INSTALLED_DIR}/include;$ENV{INCLUDE}")
endif()

vcpkg_python_build_and_install_wheel(SOURCE_PATH "${SOURCE_PATH}")

Expand Down

0 comments on commit da9b3d3

Please sign in to comment.