Skip to content

Commit

Permalink
Merge pull request #104 from HealthyPear/update-cmake-config
Browse files Browse the repository at this point in the history
Require C++11 compatible compilation at build time
  • Loading branch information
jimbraun committed Aug 21, 2023
2 parents 12f917b + db2b344 commit 266a989
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ project(xcdf
HOMEPAGE_URL https://github.com/jimbraun/XCDF
LANGUAGES CXX C)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)

ADD_DEFINITIONS("-Wall -O2")

# ------------------------------------------------------------------------------
Expand Down

0 comments on commit 266a989

Please sign in to comment.