Fixed typo

release/4.3a0
dellaert 2016-01-19 23:18:39 -08:00
parent 31888d653c
commit c77997fbb1
1 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ endif()
# Find NumPy C-API -- this is part of the numpy package
find_package(NumPy)
if(NumPy_FOUND)
if(NUMPY_FOUND)
include_directories(${NUMPY_INCLUDE_DIRS})
endif()
@ -51,7 +51,7 @@ endif()
find_package(Boost COMPONENTS python${BOOST_PYTHON_VERSION_SUFFIX})
# Build python module library and setup the module inside build
if(Boost_PYTHON${BOOST_PYTHON_VERSION_SUFFIX_UPPERCASE}_FOUND AND PYTHONLIBS_FOUND AND NumPy_FOUND)
if(Boost_PYTHON${BOOST_PYTHON_VERSION_SUFFIX_UPPERCASE}_FOUND AND PYTHONLIBS_FOUND AND NUMPY_FOUND)
include_directories(${PYTHON_INCLUDE_DIRS})
include_directories(${Boost_INCLUDE_DIRS})
include_directories(${CMAKE_SOURCE_DIR}/gtsam/3rdparty/numpy_eigen/include/)
@ -80,7 +80,7 @@ else()
endif()
# Print warnings (useful for ccmake)
if(NOT NumPy_FOUND)
if(NOT NUMPY_FOUND)
message(WARNING "Numpy not found -- Python module cannot be built.")
endif()