mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-09 20:57:26 +01:00
browser-asmjs: Remove CMakeForceCompiler
CMakeForceCompiler was marked deprecated in CMake 3.6.0. It emits many warnings when using Emscripten. These changes can be removed in a future version of Emscripten when it is disabled or removed per: https://github.com/kripken/emscripten/pull/4477
This commit is contained in:
parent
70da314cf0
commit
b72060d9a2
@ -43,3 +43,9 @@ RUN cd /tmp && \
|
||||
ENV DEFAULT_DOCKCROSS_IMAGE dockcross/browser-asmjs
|
||||
|
||||
ENV CMAKE_TOOLCHAIN_FILE /usr/emsdk_portable/emscripten/tag-${EMSCRIPTEN_VERSION}/cmake/Modules/Platform/Emscripten.cmake
|
||||
# CMakeForceCompiler was marked deprecated in CMake 3.6.0. It emits many
|
||||
# warnings when using Emscripten. These changes can be removed in a future
|
||||
# version of Emscripten when it is disabled or removed per:
|
||||
# https://github.com/kripken/emscripten/pull/4477
|
||||
RUN sed -i -e '/CMakeForceCompiler/d' -e '/CMAKE_FORCE_C/d' $CMAKE_TOOLCHAIN_FILE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user