From 75fca8e33347ab2b9663abb41f2c19b28171e33d Mon Sep 17 00:00:00 2001 From: Igor Krivenko Date: Sat, 7 Sep 2024 12:45:57 +0200 Subject: [PATCH] [cmake] Fix detection of TRIQS version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd213ce79..0d8efffb4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,7 @@ get_directory_property(IS_SUBPROJECT PARENT_DIRECTORY) # ############ # Load TRIQS set(REQUIRED_TRIQS_VERSION_MIN 3.2) -set(REQUIRED_TRIQS_VERSION_MAX 3.3) +set(REQUIRED_TRIQS_VERSION_MAX <3.4) find_package(TRIQS ${REQUIRED_TRIQS_VERSION_MIN}...${REQUIRED_TRIQS_VERSION_MAX} REQUIRED)