diff options
Diffstat (limited to 'cmake/Openblas.cmake')
-rw-r--r-- | cmake/Openblas.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/Openblas.cmake b/cmake/Openblas.cmake index e2afa92c5..1907ccd21 100644 --- a/cmake/Openblas.cmake +++ b/cmake/Openblas.cmake @@ -17,10 +17,10 @@ IF(WITH_BLAS) IF(NOT HAVE_CBLAS_H) MESSAGE(STATUS "Blas header cblas.h has not been found, use internal workaround") ELSE() - ADD_DEFINITIONS(-DHAVE_CBLAS_H) + ADD_COMPILE_OPTIONS(-DHAVE_CBLAS_H) ENDIF() ELSE() - ADD_DEFINITIONS(-DHAVE_CBLAS_H) + ADD_COMPILE_OPTIONS(-DHAVE_CBLAS_H) ENDIF() - ADD_DEFINITIONS(-DHAVE_CBLAS) + ADD_COMPILE_OPTIONS(-DHAVE_CBLAS) ENDIF(WITH_BLAS)
\ No newline at end of file |