Skip to content

Commit d287ed7

Browse files
committed
COMP: Make OpenSlide library linking transitive
1 parent e05afbf commit d287ed7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ if(NOT OPENSLIDE_FOUND)
99
endif()
1010

1111
itk_module_add_library(IOOpenSlide ${IOOpenSlide_SRCS})
12-
target_link_libraries(IOOpenSlide LINK_PRIVATE ${OPENSLIDE_LIBRARIES})
12+
target_link_libraries(IOOpenSlide PUBLIC ${OPENSLIDE_LIBRARIES})
1313
target_include_directories(IOOpenSlide SYSTEM PRIVATE ${OPENSLIDE_INCLUDE_DIRS})

0 commit comments

Comments
 (0)