summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2015-12-11 21:30:37 -0700
committerCraig Earls <enderw88@gmail.com>2015-12-11 21:30:37 -0700
commitf709109417f2cbafe210dc41d5e9e98e6e9f5de0 (patch)
tree6504e9365f8884f8d2c0525600118a9103e616a1
parent0f43fa3de0f1dc279d6ea7e87dae622c3d444949 (diff)
parent429765ee4dbf6ea2ad654b4287fa6498bc55fa3a (diff)
downloadfork-ledger-f709109417f2cbafe210dc41d5e9e98e6e9f5de0.tar.gz
fork-ledger-f709109417f2cbafe210dc41d5e9e98e6e9f5de0.tar.bz2
fork-ledger-f709109417f2cbafe210dc41d5e9e98e6e9f5de0.zip
Merge commit '429765ee4dbf6ea2ad654b4287fa6498bc55fa3a' into next
-rw-r--r--CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7a3dc3fa..7f77468e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -168,8 +168,10 @@ cmake_pop_check_state()
if (HAVE_BOOST_PYTHON)
cmake_push_check_state()
-set(CMAKE_REQUIRED_INCLUDES ${CMAKE_INCLUDE_PATH} ${Boost_INCLUDE_DIRS})
-set(CMAKE_REQUIRED_LIBRARIES ${Boost_LIBRARIES} ${PROFILE_LIBS})
+set(CMAKE_REQUIRED_INCLUDES
+ ${CMAKE_INCLUDE_PATH} ${Boost_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIRS})
+set(CMAKE_REQUIRED_LIBRARIES
+ ${Boost_LIBRARIES} ${PYTHON_LIBRARIES} ${PROFILE_LIBS})
check_cxx_source_runs("
#include <boost/python.hpp>