Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
cmake: Follow mpir build system change
  • Loading branch information
okuoku committed Feb 9, 2012
1 parent 5fd6873 commit c5e073c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -227,7 +227,7 @@ if(CMAKE_HOST_APPLE)
# use GMP.framework
# set(CMAKE_FRAMEWORK_PATH .)
elseif(MSVC)
set(MOSH_GMP_DIR CACHE PATH "path to MPIR library (mpir/build.vcX/[lib|dll]/Win32/[Debug|Release])")
set(MOSH_GMP_DIR CACHE PATH "path to MPIR library (mpir-2.X.X/[lib|dll]/Win32/[Debug|Release])")
set(GMP_INCLUDE_DIR ${MOSH_GMP_DIR})
set(GMP_LIBRARY ${MOSH_GMP_DIR}/mpir.lib)
set(GMP_SEARCH false)
Expand All @@ -249,7 +249,7 @@ endif (GMP_FOUND)
else (GMP_SEARCH)
# check gmp.h in GMP_INCLUDE_DIR
if(NOT EXISTS ${GMP_INCLUDE_DIR}/gmp.h)
message(SEND_ERROR "MPIR/GMP is not installed at ${GMP_INCLUDE_DIR}.. (gmp.h could not found. please build MPIR(http://www.mpir.org) first and specify mpir/build.vc[9|10]/[lib|dll]/Win32/[Debug|Release] to MOSH_GMP_DIR.")
message(SEND_ERROR "MPIR/GMP is not installed at ${GMP_INCLUDE_DIR}.. (gmp.h could not found. please build MPIR(http://www.mpir.org) first and specify mpir-2.X.X/[lib|dll]/Win32/[Debug|Release] to MOSH_GMP_DIR.")
endif(NOT EXISTS ${GMP_INCLUDE_DIR}/gmp.h)
endif(GMP_SEARCH)

Expand Down

0 comments on commit c5e073c

Please sign in to comment.