Skip to content

Commit

Permalink
Move C++98 requirement to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
palemieux committed Oct 12, 2023
1 parent 8f1fc70 commit a2067b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ jobs:
- name: Test Java
run: mvn test
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build
run: cmake -DCXX_STANDARD=98 -B ${{github.workspace}}/build
- name: Test regxmllibc
run: ctest
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ include_directories( ${XercesC_INCLUDE_DIR}
file(GLOB_RECURSE SRC_FILES src/main/cpp/*.cpp src/main/cpp/*.h )
add_library(${PROJECT_NAME} ${SRC_FILES})
install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION lib ARCHIVE DESTINATION lib)
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 98)


target_link_libraries ( ${PROJECT_NAME} ${XercesC_LIBRARY} )

Expand Down

0 comments on commit a2067b6

Please sign in to comment.