rm static linking code from cblas.cmake

This commit is contained in:
Radovan Bast 2015-09-17 09:58:11 +02:00
parent bac6955068
commit b7e8a5442b

View File

@ -2,10 +2,6 @@
# #
# Find and link to CBLAS. # Find and link to CBLAS.
# #
# Variables used::
#
# ENABLE_STATIC_LINKING
#
# Variables defined:: # Variables defined::
# #
# CBLAS_FOUND - describe me, uncached # CBLAS_FOUND - describe me, uncached
@ -29,10 +25,6 @@ if(ENABLE_CBLAS)
set(CBLAS_LIBRARIES "undefined") set(CBLAS_LIBRARIES "undefined")
set(CBLAS_INCLUDE_DIR "undefined") set(CBLAS_INCLUDE_DIR "undefined")
if(ENABLE_STATIC_LINKING)
set(CMAKE_FIND_LIBRARY_SUFFIXES .a)
endif()
if(APPLE) if(APPLE)
_find_library(Accelerate cblas_dgemm CBLAS_LIBRARIES) _find_library(Accelerate cblas_dgemm CBLAS_LIBRARIES)
_find_include_dir(Accelerate.h /usr CBLAS_INCLUDE_DIR) _find_include_dir(Accelerate.h /usr CBLAS_INCLUDE_DIR)