File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 99
99
-DCMAKE_PREFIX_PATH=$CONDA_PREFIX \
100
100
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
101
101
-DXEUS_CPP_ENABLE_CODE_COVERAGE=${{ matrix.coverage }} \
102
+ -DCMAKE_COMPILE_WARNING_AS_ERROR=ON \
102
103
${{ matrix.extra_cmake_flags }}
103
104
104
105
- name : build & install
@@ -227,7 +228,6 @@ jobs:
227
228
-DCMAKE_INSTALL_PREFIX=$PREFIX \
228
229
-DXEUS_CPP_EMSCRIPTEN_WASM_BUILD=ON \
229
230
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON \
230
- -DCMAKE_COMPILE_WARNING_AS_ERROR=false \
231
231
..
232
232
EMCC_CFLAGS='-sERROR_ON_UNDEFINED_SYMBOLS=0' emmake make -j ${{ env.ncpus }}
233
233
Original file line number Diff line number Diff line change 6
6
# The full license is in the file LICENSE, distributed with this software. #
7
7
#############################################################################
8
8
9
- cmake_minimum_required (VERSION 3.4.3 )
9
+ cmake_minimum_required (VERSION 3.24 )
10
10
project (xeus-cpp )
11
11
12
12
enable_language (CXX )
@@ -47,8 +47,6 @@ OPTION(XEUS_CPP_BUILD_EXECUTABLE "Build the xcpp executable" ON)
47
47
OPTION (XEUS_CPP_USE_SHARED_XEUS "Link xcpp with the xeus shared library (instead of the static library)" ON )
48
48
OPTION (XEUS_CPP_USE_SHARED_XEUS_CPP "Link xcpp with the xeus shared library (instead of the static library)" ON )
49
49
50
- option (CMAKE_COMPILE_WARNING_AS_ERROR "Compile warnings as errors" ON )
51
-
52
50
# Test options
53
51
OPTION (XEUS_CPP_BUILD_TESTS "xeus-cpp test suite" ON )
54
52
OPTION (XEUS_CPP_ENABLE_CODE_COVERAGE "xeus-cpp test suite" OFF )
You can’t perform that action at this time.
0 commit comments