Commit b5c08992 authored by bonnell's avatar bonnell

Move 'Set CMAKE_MODULE_PATH' call from root CMakelists to just before the call...

Move 'Set CMAKE_MODULE_PATH' call from root CMakelists to just before the call to find_package for numpy, to prevent a seg fault with cmake.

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@22891 18c085ea-50e0-402c-830e-de6fd14e8384
parent 334946ae
......@@ -539,7 +539,6 @@ PROJECT(VISIT)
#-----------------------------------------------------------------------------
# Set extended platlform defs.
#-----------------------------------------------------------------------------
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/CMake/)
INCLUDE(${VISIT_SOURCE_DIR}/CMake/SetUpPlatformDefs.cmake)
......
......@@ -54,6 +54,7 @@ INCLUDE_DIRECTORIES(
${PYTHON_INCLUDE_PATH}
)
SET(CMAKE_MODULE_PATH ${VISIT_SOURCE_DIR}/CMake/ ${CMAKE_MODULE_PATH})
FIND_PACKAGE(Numpy)
SET(SIMV2_USE_NUMPY FALSE)
IF (NUMPY_FOUND)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment