Skip to content

Commit

Permalink
Remove _hypot=hypot from CMakeLists, move to menu
Browse files Browse the repository at this point in the history
  • Loading branch information
robertodr committed Aug 7, 2018
1 parent 780469e commit 1e80284
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
find_package(Eigen3 3.3.4 QUIET CONFIG)
find_package(Eigen3 3.3.5 QUIET CONFIG)
if(TARGET Eigen3::Eigen AND (NOT Eigen3_FORCE_SUPERBUILD))
message(STATUS "Found Eigen3: ${EIGEN3_INCLUDE_DIR} (found version ${EIGEN3_VERSION_STRING})")
add_library(eigen3_external INTERFACE) # dummy
Expand All @@ -13,11 +13,12 @@ else()
GIT_REPOSITORY
https://github.com/eigenteam/eigen-git-mirror.git
GIT_TAG
3.3.4
3.3.5
UPDATE_COMMAND
""
CMAKE_ARGS
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_PREFIX}
-DBUILD_TESTING=OFF
)
set(Eigen3_DIR ${DEPS_INSTALL_PREFIX}/share/eigen3/cmake
CACHE PATH
Expand Down
2 changes: 1 addition & 1 deletion chapter-08/recipe-04/cxx-example/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project(recipe-04_core LANGUAGES CXX)

find_package(OpenMP REQUIRED)

find_package(Eigen3 3.3.4 REQUIRED CONFIG)
find_package(Eigen3 3.3.5 REQUIRED CONFIG)
message(STATUS "Found Eigen3: ${EIGEN3_INCLUDE_DIR} (found version ${EIGEN3_VERSION_STRING})")

add_executable(linear-algebra linear-algebra.cpp)
Expand Down

0 comments on commit 1e80284

Please sign in to comment.