fix-clapack-cmake.diff 929 B

12345678910111213141516171819
  1. Index: digikam-1.6.0/cmake/modules/FindCLAPACK.cmake
  2. ===================================================================
  3. --- digikam-1.6.0.orig/cmake/modules/FindCLAPACK.cmake
  4. +++ digikam-1.6.0/cmake/modules/FindCLAPACK.cmake
  5. @@ -17,11 +17,11 @@ if(CLAPACK_INCLUDE_DIR AND CLAPACK_LIBRA
  6. else(CLAPACK_INCLUDE_DIR AND CLAPACK_LIBRARY)
  7. - find_path(CLAPACK_INCLUDE_DIR clapack.h PATHS /usr/include/clapack NO_DEFAULT_PATH)
  8. + find_path(CLAPACK_INCLUDE_DIR NAMES f2c.h PATHS /usr/include/clapack NO_DEFAULT_PATH)
  9. if(CLAPACK_INCLUDE_DIR)
  10. message(STATUS "Found clapack includes: ${CLAPACK_INCLUDE_DIR}")
  11. else(CLAPACK_INCLUDE_DIR)
  12. - find_path(CLAPACK_INCLUDE_DIR clapack.h PATHS /usr/include/clapack)
  13. + find_path(CLAPACK_INCLUDE_DIR NAMES f2c.h PATHS /usr/include/clapack)
  14. if(CLAPACK_INCLUDE_DIR)
  15. message(STATUS "Found clapack includes: ${CLAPACK_INCLUDE_DIR}")
  16. endif(CLAPACK_INCLUDE_DIR)