Commit 614387b8 authored by Gregor Olenik's avatar Gregor Olenik
Browse files

fix find_package

parent 0edc5fff
......@@ -23,9 +23,9 @@ include(cmake/install_helpers.cmake)
ginkgo_find_package(Ginkgo "Ginkgo::ginkgo" FALSE 1.4.0)
add_subdirectory(third_party)
#if (NOT Ginkgo)
# find_package(Ginkgo 1.4.0 REQUIRED PATHS ${CMAKE_CURRENT_BINARY_DIR}/third_party/ginkgo/build/install/lib/cmake)
#endif()
if (NOT Ginkgo)
find_package(Ginkgo 1.4.0 REQUIRED PATHS ${CMAKE_CURRENT_BINARY_DIR}/third_party/ginkgo/build/install/lib/cmake)
endif()
# To interface with ginkgo at least C++ 14 is needed
set(CMAKE_CXX_STANDARD 14)
......
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