From 54b607cf4df8bcf0f2fafbd37d445765419fdc73 Mon Sep 17 00:00:00 2001
From: Martin Beseda <martin.beseda@vsb.cz>
Date: Thu, 21 Feb 2019 03:49:04 +0100
Subject: [PATCH] FIX: Fixed name of openblas CMake target

---
 DownloadOpenBLAS.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DownloadOpenBLAS.cmake b/DownloadOpenBLAS.cmake
index 8a8c9f70..fffaf657 100644
--- a/DownloadOpenBLAS.cmake
+++ b/DownloadOpenBLAS.cmake
@@ -30,7 +30,7 @@ if(NOT rv STREQUAL "0")
 endif()
 
 # Add a compile flag -lgfortran and -lpthreads
-set_target_properties(${LIB_PREFIX}openblas.${LIB_SUFFIX} PROPERTIES LINK_FLAGS "-lgfortran -lpthreads")
+set_target_properties(openblas PROPERTIES LINK_FLAGS "-lgfortran -lpthreads")
 
 # Build library
 execute_process(
-- 
GitLab