File: FindAccelerate.cmake

package info (click to toggle)
ga 5.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,472 kB
  • sloc: ansic: 192,963; fortran: 53,761; f90: 11,218; cpp: 5,784; makefile: 2,248; sh: 1,945; python: 1,734; perl: 534; csh: 134; asm: 106
file content (13 lines) | stat: -rw-r--r-- 893 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
include( CheckCCompilerFlag )                                                        
check_c_compiler_flag( "-framework Accelerate" COMPILER_RECOGNIZES_ACCELERATE )      
if( COMPILER_RECOGNIZES_ACCELERATE )                                                 
  set( Accelerate_LIBRARIES "-framework Accelerate" CACHE STRING "Accelerate Libraries" FORCE)
  set( Accelerate_lp64_FOUND  TRUE  )                                                
  set( Accelerate_ilp64_FOUND FALSE )                                                
endif()                                                                              

include(FindPackageHandleStandardArgs)                                               
find_package_handle_standard_args( Accelerate                                        
  REQUIRED_VARS Accelerate_LIBRARIES                                                 
  HANDLE_COMPONENTS
)