From 502fc90830fb118477725a798e1bc303c90561ec Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Wed, 6 Mar 2024 22:08:08 -0600 Subject: [PATCH] Add a windows specific prefix path to help find gmp and gmpxx --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c999409d..a8260860 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -26,6 +26,8 @@ if(WIN32) else() message(FATAL_ERROR "MPIR library not found") endif() + + list(APPEND CMAKE_PREFIX_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../mpir_gc_x64") endif() find_package(GMP REQUIRED)