set OPENBLAS_CMAKE_DIR to <prefix>/lib/cmake/<package_name>
authorxantares <xantares09@hotmail.com>
Tue, 9 Dec 2014 09:18:18 +0000 (10:18 +0100)
committerxantares <xantares09@hotmail.com>
Tue, 9 Dec 2014 09:18:18 +0000 (10:18 +0100)
usually these files are more often located in this subdir

Makefile.install

index 04323ee..f6c3b9a 100644 (file)
@@ -9,7 +9,7 @@ OPENBLAS_INCLUDE_DIR := $(PREFIX)/include
 OPENBLAS_LIBRARY_DIR := $(PREFIX)/lib
 OPENBLAS_BINARY_DIR := $(PREFIX)/bin
 OPENBLAS_BUILD_DIR := $(CURDIR)
-OPENBLAS_CMAKE_DIR := $(PREFIX)/cmake
+OPENBLAS_CMAKE_DIR := $(OPENBLAS_LIBRARY_DIR)/cmake/openblas
 OPENBLAS_CMAKE_CONFIG := OpenBLASConfig.cmake
 
 .PHONY : install