-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathFindAccelerate.cmake
More file actions
13 lines (12 loc) · 893 Bytes
/
FindAccelerate.cmake
File metadata and controls
13 lines (12 loc) · 893 Bytes
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
)