adding lapacke.cmake stub
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
if(LAPACK_FOUND)
|
||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
|
||||
#windows needs to find <lapacke.h> of openblas
|
||||
include_directories($ENV{PATH})
|
||||
else()
|
||||
#ftravis-ci needs find <clapack.h> of ATLAS
|
||||
include_directories(/usr/include/atlas)
|
||||
endif()
|
||||
if(LAPACKE_FOUND)
|
||||
include_directories(${LAPACKE_INCLUDE_DIR})
|
||||
add_executable(example example.cpp)
|
||||
target_link_libraries(example ${MATH_LIBS})
|
||||
target_link_libraries(example ${LAPACKE_LIBRARIES})
|
||||
else()
|
||||
message(FATAL_ERROR "LAPACK library not found for the test cc_lapacke!")
|
||||
message(FATAL_ERROR "LAPACKE library not found")
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user