diff options
author | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-06-28 15:55:53 +0000 |
---|---|---|
committer | vrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb> | 2016-06-28 15:55:53 +0000 |
commit | 45bef27b1c65d6692c0b1e0c9c9423ea8b6d83a8 (patch) | |
tree | 7d54ebcdc5e2f44ea2c2150b1ef00018d5235041 /src/cmake/modules | |
parent | 27f251520f1fc355e2b7d83225d44adbf6ce63c8 (diff) |
Modify FindGMPXX.cmake to set directory
Cython CmakeLists.txt for compilation and tests (still export PYTHONPATH to be solved)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/ST_cythonize@1349 636b058d-ea47-450e-bf9e-a15bfbe3eedb
Former-commit-id: cc46d7ef7c34ce2bc0408eb612e5ab9241b4c9c0
Diffstat (limited to 'src/cmake/modules')
-rw-r--r-- | src/cmake/modules/FindGMPXX.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmake/modules/FindGMPXX.cmake b/src/cmake/modules/FindGMPXX.cmake index 277e4b19..dda302c0 100644 --- a/src/cmake/modules/FindGMPXX.cmake +++ b/src/cmake/modules/FindGMPXX.cmake @@ -33,6 +33,10 @@ if(GMP_FOUND) DOC "Path to the GMPXX library" ) + if ( GMPXX_LIBRARIES ) + get_filename_component(GMPXX_LIBRARIES_DIR ${GMPXX_LIBRARIES} PATH CACHE ) + endif() + include(FindPackageHandleStandardArgs) find_package_handle_standard_args(GMPXX "DEFAULT_MSG" GMPXX_LIBRARIES GMPXX_INCLUDE_DIR ) |