Skip to content

Commit

Permalink
conda: Set QT_HOST_PATH in conda's build.sh CMake template for osx-ar…
Browse files Browse the repository at this point in the history
…m64 compat
  • Loading branch information
traversaro authored Oct 3, 2024
1 parent ad60582 commit af436eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conda/cmake_recipe_template/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ cd {{ source_subdir }}
mkdir build
cd build

# QT_HOST_PATH is added as it is required on osx-arm64 for all
# packages that depend (even transitively) on qt6-main
# Workaround for https://github.com/conda-forge/qt-main-feedstock/issues/273
cmake .. \
-GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH=$PREFIX \
-DCMAKE_INSTALL_PREFIX=$PREFIX \
-DQT_HOST_PATH=$PREFIX \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_VERBOSE_MAKEFILE=OFF \
-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=True \
Expand Down

0 comments on commit af436eb

Please sign in to comment.