File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ option( BUILD_PERFORMANCE "Copy the performance scripts that can measure and gra
23
23
option ( BUILD_SAMPLE "Build the sample programs" OFF )
24
24
option ( BUILD_CLIENT "Build a command line clBLAS client program with a variety of configurable parameters (dependency on Boost)" OFF )
25
25
option ( BUILD_KTEST "A command line tool for testing single clBLAS kernel" ON )
26
+ option ( BUILD_SHARED_LIBS "Build shared libraries" ON )
26
27
27
28
# By default test-correctness is linked and tested against ACML library.
28
29
# However, test-correctness can instead use NETLIB as a reference library
Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ if( CMAKE_COMPILER_IS_GNUCC )
307
307
DESTINATION lib${SUFFIX_LIB}/pkgconfig )
308
308
endif ( )
309
309
310
- add_library (clBLAS SHARED ${CLBLAS_SOURCES} ${GLOBAL_HEADERS} ${SRC_BLAS_HEADERS} ${SRC_BLAS_GENS_HEADERS} )
310
+ add_library (clBLAS ${CLBLAS_SOURCES} ${GLOBAL_HEADERS} ${SRC_BLAS_HEADERS} ${SRC_BLAS_GENS_HEADERS} )
311
311
add_dependencies (clBLAS GENERATE_CLT )
312
312
set_target_properties (clBLAS PROPERTIES VERSION ${clBLAS_VERSION} )
313
313
set_target_properties (clBLAS PROPERTIES SOVERSION ${clBLAS_SOVERSION} )
You can’t perform that action at this time.
0 commit comments