Browse Source

Adjusted CMakeLists.txt (Directory "3rdparty" is written with a lower

"p" in git index)
tempestpy_adaptions
Thomas Heinemann 12 years ago
committed by Lanchid
parent
commit
0bf2c87c2c
  1. 7
      CMakeLists.txt

7
CMakeLists.txt

@ -60,7 +60,7 @@ endif()
message(STATUS "GTEST Include Dir is: ${GTEST_INCLUDE_DIR}") message(STATUS "GTEST Include Dir is: ${GTEST_INCLUDE_DIR}")
#message(STATUS "CMAKE_MODULE_PATH = ${CMAKE_MODULE_PATH}") #message(STATUS "CMAKE_MODULE_PATH = ${CMAKE_MODULE_PATH}")
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}")
#list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/resources/3rdparty/gtest-1.6.0) #list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/resources/3rdparty/gtest-1.6.0)
#list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/resources/3rdparty/pantheios-1.0.1-beta214) #list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/resources/3rdparty/pantheios-1.0.1-beta214)
#list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/resources/3rdparty/gteststlsoft-1.9.116) #list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/resources/3rdparty/gteststlsoft-1.9.116)
@ -111,15 +111,14 @@ if(Boost_FOUND)
link_directories(${Boost_LIBRARY_DIRS}) link_directories(${Boost_LIBRARY_DIRS})
endif(Boost_FOUND) endif(Boost_FOUND)
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/resources/3rdParty/eigen/cmake)
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/resources/3rdparty/eigen/cmake/")
set(EIGEN3_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/resources/3rdParty/eigen)
set(EIGEN3_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/resources/3rdparty/eigen)
find_package(Eigen3 REQUIRED) find_package(Eigen3 REQUIRED)
if (EIGEN3_FOUND) if (EIGEN3_FOUND)
include_directories(${EIGEN3_INCLUDE_DIR}) include_directories(${EIGEN3_INCLUDE_DIR})
message(STATUS "FounD Eigen3, Include Path ${EIGEN3_INCLUDE_DIR}")
endif() endif()
# must be created AFTER Boost was added because of LINK_DIRECTORIES # must be created AFTER Boost was added because of LINK_DIRECTORIES

Loading…
Cancel
Save