Stop manually setting CMAKE_CROSSCOMPILING
This is set implicitly when CMAKE_SYSTEM_NAME is set. According to the docs, the user isn't supposed to set it manually.
This commit is contained in:
1 parent
2ea2e1476d
commit
7060e41fc1
4 files changed
-4
No files matched your search
@@ -85,7 +85,6 @@ for arch in $ARCHS; do
|
||||
-DCMAKE_C_COMPILER=$arch-w64-mingw32-clang \
|
||||
-DCMAKE_CXX_COMPILER=$arch-w64-mingw32-clang++ \
|
||||
-DCMAKE_CXX_COMPILER_TARGET=$arch-w64-windows-gnu \
|
||||
-DCMAKE_CROSSCOMPILING=TRUE \
|
||||
-DCMAKE_SYSTEM_NAME=Windows \
|
||||
-DCMAKE_C_COMPILER_WORKS=TRUE \
|
||||
-DCMAKE_CXX_COMPILER_WORKS=TRUE \
|
||||
|
||||
Reference in new issue
Block a user