Skip to content

Commit

Permalink
Another update to CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagowinkler committed Oct 10, 2019
1 parent f02036f commit aa3d452
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -finline-functions -flto")

# GCC (Ubuntu 18.04 LTS Bionic Beaver)
if(UNIX AND NOT APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated")
endif(UNIX AND NOT APPLE)

# GCC (Raspbian Buster for Raspberry Pi 4)
Expand All @@ -78,6 +78,7 @@ endif(${CMAKE_SYSTEM_PROCESSOR} MATCHES "armv7l")

# Clang (macOS Mojave 10.14)
if(APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-overloaded-virtual")
include_directories(/usr/local/include)
endif(APPLE)
Expand Down

0 comments on commit aa3d452

Please sign in to comment.