File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -130,15 +130,15 @@ ELSEIF(UNIX)
130130 # add pthreads library
131131 set (THREADS_PREFER_PTHREAD_FLAG ON )
132132 find_package (Threads REQUIRED)
133- target_link_libraries (openpnp-capture PUBLIC Threads::Threads)
133+ target_link_libraries (openpnp-capture PRIVATE Threads::Threads)
134134
135135 # add turbojpeg library
136136 find_package (PkgConfig REQUIRED)
137137 pkg_search_module(TurboJPEG libturbojpeg)
138138 if ( TurboJPEG_FOUND )
139- link_directories ( ${TurboJPEG_LIBDIR} )
140- target_include_directories (openpnp-capture PUBLIC ${TurboJPEG_INCLUDE_DIRS} )
141- target_link_libraries (openpnp-capture PUBLIC ${TurboJPEG_LIBRARIES} )
139+ target_link_directories (openpnp-capture PRIVATE ${TurboJPEG_LIBDIR} )
140+ target_include_directories (openpnp-capture PRIVATE ${TurboJPEG_INCLUDE_DIRS} )
141+ target_link_libraries (openpnp-capture PRIVATE ${TurboJPEG_LIBRARIES} )
142142 else ()
143143 # compile libjpeg-turbo for MJPEG decoding support
144144 # right now, we need to disable SIMD because it
You can’t perform that action at this time.
0 commit comments