From d7b45a53c76d6ca2e3459b7987a995ad530fa0da Mon Sep 17 00:00:00 2001 From: Chris Marslender Date: Wed, 6 Mar 2024 21:58:47 -0600 Subject: [PATCH] Fix path to mpir in cmake --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1fa9dc35..c999409d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -16,8 +16,8 @@ set(CMAKE_MODULE_PATH ) if(WIN32) - set(MPIR_LIBRARY_DIR "${CMAKE_CURRENT_SOURCE_DIR}/mpir_gc_x64") - set(MPIR_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/mpir_gc_x64") + set(MPIR_LIBRARY_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../mpir_gc_x64") + set(MPIR_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../mpir_gc_x64") include_directories(${MPIR_INCLUDE_DIR}) find_library(MPIR_LIBRARY NAMES mpir PATHS ${MPIR_LIBRARY_DIR} NO_DEFAULT_PATH) if(MPIR_LIBRARY)