Skip to content

Commit

Permalink
mark python libs as "SYSTEM"
Browse files Browse the repository at this point in the history
http://www.cmake.org/cmake/help/v3.0/command/include_directories.html
so gcc 4.8+ will stop warning about things in Python headers
  • Loading branch information
suntzu86 committed Jan 1, 2015
1 parent 7dd51ff commit 97949e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moe/optimal_learning/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ endif()
find_package(PythonLibs REQUIRED)
find_package(Boost 1.51 COMPONENTS python REQUIRED)

include_directories(${PYTHON_INCLUDE_DIRS})
include_directories(SYSTEM ${PYTHON_INCLUDE_DIRS})
include_directories(${Boost_INCLUDE_DIRS})

#### Sources
Expand Down

0 comments on commit 97949e5

Please sign in to comment.