File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -242,12 +242,14 @@ if(APR_BUILD_STATIC_LIB)
242242 set_target_properties (${STATIC_TARGET_NAME} PROPERTIES CUDA_SEPARABLE_COMPILATION OFF )
243243 target_include_directories (${STATIC_TARGET_NAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /src> $<BUILD_INTERFACE:${PROJECT_BINARY_DIR} >)
244244
245+ target_link_libraries (${STATIC_TARGET_NAME} PRIVATE ${HDF5_LIBRARIES} ${TIFF_LIBRARIES} ${CUDA_CUDART_LIBRARY} ${ZLIB_LIBRARIES} )
246+
245247 # generate fat static library by adding dependencies
246248 if (NOT BLOSC_FOUND)
247249 include (cmake/AddStaticLibs.cmake)
248250 addStaticLibs(${STATIC_TARGET_NAME} blosc_static) #this is not working currently for clang-cl please use external.
249251 else ()
250- target_link_libraries (${STATIC_TARGET_NAME} PRIVATE ${BLOSC_LIBRARIES} ${ZLIB_LIBRARIES} )
252+ target_link_libraries (${STATIC_TARGET_NAME} PRIVATE ${BLOSC_LIBRARIES} ${ZLIB_LIBRARIES} )
251253 endif ()
252254
253255endif ()
You can’t perform that action at this time.
0 commit comments