mirror of https://github.com/CGAL/cgal
Fix the detection of BLAS/LAPACK/TAUCS with MSVC
The CMake script was only testing if the sub-directory auxiliary/taucs/ existed. That directory exists in Git for a while, because we ship a README file in it. Now the CMake script checks for auxiliary/taucs/include/. That is as naive as before but at least it will work.
This commit is contained in:
parent
91d1deae4d
commit
c0039287df
|
|
@ -82,7 +82,8 @@ if ( NOT CGAL_TAUCS_FOUND )
|
|||
set( CGAL_TAUCS_FOUND TRUE )
|
||||
|
||||
# Else, search for TAUCS in CGAL "auxiliary" folder
|
||||
elseif ( EXISTS "${CGAL_INSTALLATION_PACKAGE_DIR}/auxiliary/taucs" )
|
||||
elseif ( EXISTS "${CGAL_INSTALLATION_PACKAGE_DIR}/auxiliary/taucs/include" AND
|
||||
EXISTS "${CGAL_INSTALLATION_PACKAGE_DIR}/auxiliary/taucs/lib" )
|
||||
|
||||
set( CGAL_TAUCS_INCLUDE_DIR "${CGAL_INSTALLATION_PACKAGE_DIR}/auxiliary/taucs/include")
|
||||
set( CGAL_TAUCS_LIBRARIES_DIR "${CGAL_INSTALLATION_PACKAGE_DIR}/auxiliary/taucs/lib" )
|
||||
|
|
|
|||
Loading…
Reference in New Issue