File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ target_include_directories(pyhelios_interface PRIVATE
3838)
3939
4040# Link interface to helios library
41- target_link_libraries (pyhelios_interface helios )
41+ target_link_libraries (pyhelios_interface PUBLIC helios )
4242
4343# Set output directory to lib so it's found by build script
4444set_target_properties (pyhelios_interface PROPERTIES
@@ -61,13 +61,13 @@ target_include_directories(pyhelios_shared PRIVATE
6161)
6262
6363# Link to helios library and all selected plugins
64- target_link_libraries (pyhelios_shared helios )
64+ target_link_libraries (pyhelios_shared PUBLIC helios )
6565
6666# Link to plugins based on plugin configuration
6767if (DEFINED PLUGINS)
6868 foreach (PLUGIN IN LISTS PLUGINS)
6969 if (TARGET ${PLUGIN} )
70- target_link_libraries (pyhelios_shared ${PLUGIN} )
70+ target_link_libraries (pyhelios_shared PUBLIC ${PLUGIN} )
7171 message (STATUS "Linked pyhelios_shared to plugin: ${PLUGIN} " )
7272 endif ()
7373 endforeach ()
You can’t perform that action at this time.
0 commit comments