This commit is contained in:
Radovan Bast
2015-09-17 10:24:07 +02:00
parent 1fc6a7b355
commit 6017dbbfa6
6 changed files with 7 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
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()
add_executable(example example.cpp)
target_link_libraries(example ${MATH_LIBS})
else()
message(FATAL_ERROR "LAPACK library not found for the test cc_lapacke!")
endif()