Skip to content

Commit

Permalink
Fix path to mpir in cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Mar 7, 2024
1 parent b48427e commit d7b45a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d7b45a5

Please sign in to comment.