Skip to content

Commit

Permalink
Remove flags specific for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tcezard committed Oct 11, 2024
1 parent 4bf113b commit 1127111
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ endif()
# Include directories
include_directories (inc)
include_directories (lib)

set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wno-unknown-pragmas")
if (NOT WINDOWS)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wno-unknown-pragmas") # No unknown pragmas: it's ok that gcc doesn't know about ODB's pragmas
endif()

if (DEFINED STATIC_BUILD)
if (WINDOWS)
Expand Down

0 comments on commit 1127111

Please sign in to comment.