Try setting policy in toolchain file

This commit is contained in:
BtbN 2021-05-13 15:12:22 +02:00
parent 05cffc15cf
commit 79716dac4b
2 changed files with 2 additions and 3 deletions

View file

@ -12,9 +12,6 @@ RUN \
git config --global user.name "Builder" && \
mkdir /opt/ffbuild
# Work around cmake bug
RUN sed -i 's/.*__SUNPRO_C.*/ FALSE )/' /usr/share/cmake/Modules/CMakeParseImplicitIncludeInfo.cmake
ADD run_stage.sh /usr/bin/run_stage
ADD git-mini-clone.sh /usr/bin/git-mini-clone
ADD check-wget.sh /usr/bin/check-wget

View file

@ -10,3 +10,5 @@ set(CMAKE_FIND_ROOT_PATH /usr/x86_64-alpine-linux-musl /opt/ffbuild)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_POLICY_DEFAULT_CMP0054 NEW)