From a3e84aa1551d4aeaa8d346352dc6a1adb031f7ab Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 20 May 2012 05:16:16 -0500 Subject: A few more CMake-related fixes --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 70613991..9d0ea97d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,6 +45,8 @@ if(USE_PYTHON) set(HAVE_BOOST_PYTHON 0) message("Could not find a Python library to use with Boost.Python") endif() +else() + set(HAVE_BOOST_PYTHON 0) endif() set(Boost_USE_MULTITHREADED OFF) -- cgit v1.2.3