mirror of https://github.com/CGAL/cgal
The env variable must be searched *before* auxiliary/gmp/...
This commit is contained in:
parent
fc33fbff26
commit
f834218870
|
|
@ -34,8 +34,8 @@ else()
|
||||||
|
|
||||||
find_path(GMP_INCLUDE_DIR
|
find_path(GMP_INCLUDE_DIR
|
||||||
NAMES gmp.h
|
NAMES gmp.h
|
||||||
PATHS ${CMAKE_SOURCE_DIR}/auxiliary/gmp/include
|
PATHS ENV GMP_INC_DIR
|
||||||
ENV GMP_INC_DIR
|
${CMAKE_SOURCE_DIR}/auxiliary/gmp/include
|
||||||
DOC "The directory containing the GMP header files"
|
DOC "The directory containing the GMP header files"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -47,8 +47,8 @@ else()
|
||||||
|
|
||||||
find_path(GMP_LIBRARIES_DIR
|
find_path(GMP_LIBRARIES_DIR
|
||||||
NAMES "gmp-${CGAL_TOOLSET}-mt.lib" "gmp-${CGAL_TOOLSET}-mt-gd.lib"
|
NAMES "gmp-${CGAL_TOOLSET}-mt.lib" "gmp-${CGAL_TOOLSET}-mt-gd.lib"
|
||||||
PATHS ${CMAKE_SOURCE_DIR}/auxiliary/gmp/lib
|
PATHS ENV GMP_LIB_DIR
|
||||||
ENV GMP_LIB_DIR
|
${CMAKE_SOURCE_DIR}/auxiliary/gmp/lib
|
||||||
DOC "Directory containing the GMP library"
|
DOC "Directory containing the GMP library"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue