Skip to content

Commit fe78be1

Browse files
authored
Address comments
1 parent 83cce28 commit fe78be1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
-DCMAKE_PREFIX_PATH=$CONDA_PREFIX \
100100
-DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
101101
-DXEUS_CPP_ENABLE_CODE_COVERAGE=${{ matrix.coverage }} \
102+
-DCMAKE_COMPILE_WARNING_AS_ERROR=ON \
102103
${{ matrix.extra_cmake_flags }}
103104
104105
- name: build & install
@@ -227,7 +228,6 @@ jobs:
227228
-DCMAKE_INSTALL_PREFIX=$PREFIX \
228229
-DXEUS_CPP_EMSCRIPTEN_WASM_BUILD=ON \
229230
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON \
230-
-DCMAKE_COMPILE_WARNING_AS_ERROR=false \
231231
..
232232
EMCC_CFLAGS='-sERROR_ON_UNDEFINED_SYMBOLS=0' emmake make -j ${{ env.ncpus }}
233233

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# The full license is in the file LICENSE, distributed with this software. #
77
#############################################################################
88

9-
cmake_minimum_required(VERSION 3.4.3)
9+
cmake_minimum_required(VERSION 3.24)
1010
project(xeus-cpp)
1111

1212
enable_language(CXX)
@@ -47,8 +47,6 @@ OPTION(XEUS_CPP_BUILD_EXECUTABLE "Build the xcpp executable" ON)
4747
OPTION(XEUS_CPP_USE_SHARED_XEUS "Link xcpp with the xeus shared library (instead of the static library)" ON)
4848
OPTION(XEUS_CPP_USE_SHARED_XEUS_CPP "Link xcpp with the xeus shared library (instead of the static library)" ON)
4949

50-
option(CMAKE_COMPILE_WARNING_AS_ERROR "Compile warnings as errors" ON)
51-
5250
# Test options
5351
OPTION(XEUS_CPP_BUILD_TESTS "xeus-cpp test suite" ON)
5452
OPTION(XEUS_CPP_ENABLE_CODE_COVERAGE "xeus-cpp test suite" OFF)

0 commit comments

Comments
 (0)