Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,14 @@ set(EP_COMMON_CMAKE_ARGS
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DCMAKE_CXX_FLAGS=${EP_CXX_FLAGS}
-DCMAKE_C_FLAGS=${EP_C_FLAGS}
-DCMAKE_INSTALL_LIBDIR=lib)
-DCMAKE_INSTALL_LIBDIR=lib
# Prevent leaking host toolchain library/include paths into external
# project builds. Without these, cmake may find incompatible libraries
# (e.g. a partial libunwind.so from a toolchain) that cause runtime
# symbol lookup errors. All external project dependencies are passed
# explicitly via xxx_ROOT/xxx_HOME variables.
-DCMAKE_LIBRARY_PATH=
-DCMAKE_PREFIX_PATH=)

if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.30")
list(APPEND EP_COMMON_CMAKE_ARGS -DCMAKE_POLICY_VERSION_MINIMUM=3.5)
Expand Down
Loading