Skip to content

Commit

Permalink
[cmake] Bump TRIQS Version requirement to 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentzell committed Aug 8, 2020
1 parent 6a005f9 commit d6bd28f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ elseif(${USE_TRIQS}) # search for TRIQS 2.1 - if not found default to USE_TRIQS=
# Try to find TRIQS and Cpp2Py
project(maxent CXX)
option(BUILD_SHARED_LIBS "Build shared libraries" ON)
find_package(TRIQS 2.0 QUIET)
find_package(Cpp2Py 1.5 QUIET)
if ((TRIQS_FOUND) AND (Cpp2Py_FOUND))
find_package(TRIQS 3.0 QUIET)
if (TRIQS_FOUND)
message(STATUS "--------- Installing as TRIQS ${TRIQS_VERSION} package ---------")
set(TRIQS_V1 OFF)
set(TRIQS_V2 ON)
Expand Down

0 comments on commit d6bd28f

Please sign in to comment.