add OpenBLAS_VERSION to cmake config file
authorxantares <xantares09@hotmail.com>
Tue, 9 Dec 2014 09:34:41 +0000 (10:34 +0100)
committerxantares <xantares09@hotmail.com>
Tue, 9 Dec 2014 09:34:41 +0000 (10:34 +0100)
Makefile.install

index 04323ee..eeb79f5 100644 (file)
@@ -95,7 +95,8 @@ endif
 endif
 #Generating OpenBLASConfig.cmake
        @echo Generating $(OPENBLAS_CMAKE_CONFIG) in $(DESTDIR)$(OPENBLAS_CMAKE_DIR)
-       @echo "SET(OpenBLAS_INCLUDE_DIRS ${OPENBLAS_INCLUDE_DIR})" > $(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)
+       @echo "SET(OpenBLAS_VERSION \"${VERSION}\")" > $(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG) 
+       @echo "SET(OpenBLAS_INCLUDE_DIRS ${OPENBLAS_INCLUDE_DIR})" >> $(DESTDIR)$(OPENBLAS_CMAKE_DIR)/$(OPENBLAS_CMAKE_CONFIG)
 ifndef NO_SHARED
 #ifeq logical or
 ifeq ($(OSNAME), $(filter $(OSNAME),Linux FreeBSD NetBSD))