From c0039287dfe7400d0f7fbfe8c07c8c8fecd7ba69 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Tue, 5 Mar 2013 13:48:10 +0100 Subject: [PATCH] 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. --- Installation/cmake/modules/CGAL_Locate_CGAL_TAUCS.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Installation/cmake/modules/CGAL_Locate_CGAL_TAUCS.cmake b/Installation/cmake/modules/CGAL_Locate_CGAL_TAUCS.cmake index 11ab9040104..392f3ef85bf 100644 --- a/Installation/cmake/modules/CGAL_Locate_CGAL_TAUCS.cmake +++ b/Installation/cmake/modules/CGAL_Locate_CGAL_TAUCS.cmake @@ -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" )