Skip to content

Commit 6101136

Browse files
committed
Set CMAKE_NO_SYSTEM_FROM_IMPORTED
1 parent 0565bc5 commit 6101136

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ jobs:
235235
run: |
236236
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz?run=${{ env.RUN }}', 'builder')"
237237
chmod a+x builder
238-
./builder build -p ${{ env.PACKAGE_NAME }} --spec=downstream
238+
./builder build -p ${{ env.PACKAGE_NAME }} --spec=downstream --cmake-extra=-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON
239239
python3 codebuild/macos_compatibility_check.py
240240
241241
macos-s2n:

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ if (BUILD_DEPS)
7272
)
7373

7474
set(UNSAFE_TREAT_WARNINGS_AS_ERRORS OFF CACHE BOOL "Disable warnings-as-errors when building S2N")
75+
set(CMAKE_NO_SYSTEM_FROM_IMPORTED ON CACHE BOOL "")
7576
add_subdirectory(crt/s2n)
7677
endif()
7778
add_subdirectory(crt/aws-c-sdkutils)

0 commit comments

Comments
 (0)