Skip to content

Commit

Permalink
Adding -fopenmp and -Wall to default flags as we always want them
Browse files Browse the repository at this point in the history
  • Loading branch information
leoisl committed Jul 14, 2022
1 parent 00b327f commit 780ddec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ set(COBS_DEFINITIONS "")
set(COBS_INCLUDE_DIRS "")
set(COBS_LINK_LIBRARIES "")

# enable more warnings
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wpedantic")
# enable more warningsls
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wpedantic -fopenmp -Wall")

# use C++17
set(CMAKE_CXX_STANDARD 17)
Expand Down

0 comments on commit 780ddec

Please sign in to comment.