- extended math_libs.cmake for C headers detection - static_linking tests included - rearranged math-libs order for better libraries detection - no int64 for cc_lapack - added include/ directory to %path% to detect clapack.h in appveyor - simplified C-code, intendations kept - travis-ci kept simple, but needs liblapack-dev and libatlas-base-dev - libatlas-dev can not be installed due to repeating xerba objects in *.a lib files
		
			
				
	
	
		
			14 lines
		
	
	
		
			453 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			453 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| 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.c)
 | |
|     target_link_libraries(example ${MATH_LIBS})
 | |
| else()
 | |
|     message(FATAL_ERROR "LAPACK library not found for the test cc_clapack!")
 | |
| endif()
 |