Skip to content

Commit a2067b6

Browse files
committed
Move C++98 requirement to CI
1 parent 8f1fc70 commit a2067b6

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ jobs:
2323
- name: Test Java
2424
run: mvn test
2525
- name: Configure CMake
26-
run: cmake -B ${{github.workspace}}/build
26+
run: cmake -DCXX_STANDARD=98 -B ${{github.workspace}}/build
2727
- name: Test regxmllibc
2828
run: ctest

CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ include_directories( ${XercesC_INCLUDE_DIR}
1111
file(GLOB_RECURSE SRC_FILES src/main/cpp/*.cpp src/main/cpp/*.h )
1212
add_library(${PROJECT_NAME} ${SRC_FILES})
1313
install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
14-
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 98)
15-
1614

1715
target_link_libraries ( ${PROJECT_NAME} ${XercesC_LIBRARY} )
1816

0 commit comments

Comments
 (0)