Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwbrei committed Aug 5, 2024
1 parent ab4cefc commit c05216a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/examples/InteractiveStreamingExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if (${USE_ROOT} AND ${USE_ZEROMQ})
PUBLIC_HEADER ${InteractiveStreamingExample_HEADERS})

target_include_directories(InteractiveStreamingExample PUBLIC ${ROOT_INCLUDE_DIRS} ${ZeroMQ_INCLUDE_DIRS})
target_link_libraries(InteractiveStreamingExample jana2_shared_lib ${ZeroMQ_LIBRARIES} ${ROOT_LIBRARIES})
target_link_libraries(InteractiveStreamingExample PUBLIC ${ZeroMQ_LIBRARIES} ${ROOT_LIBRARIES})

else()

Expand Down
6 changes: 3 additions & 3 deletions src/examples/RootDatamodelExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if(${USE_ROOT})
list(APPEND my_pcms ${CMAKE_CURRENT_BINARY_DIR}/lib${CLASS}_rdict.pcm )
endforeach()

set (RootDataModelExample_HEADERS
set (RootDatamodelExample_HEADERS
Hit.h
Cluster.h
JFactory_Cluster.h
Expand All @@ -33,9 +33,9 @@ if(${USE_ROOT})
G__Hit.cxx
G__Cluster.cxx)

add_jana_plugin(RootDataModelExample
add_jana_plugin(RootDatamodelExample
SOURCES ${RootDatamodelExample_SOURCES}
PUBLIC_HEADER ${RootDataModelExample_HEADERS})
PUBLIC_HEADER ${RootDatamodelExample_HEADERS})

target_include_directories(RootDatamodelExample PUBLIC ${ROOT_INCLUDE_DIRS})
target_link_libraries(RootDatamodelExample PUBLIC ${ROOT_LIBRARIES})
Expand Down
2 changes: 1 addition & 1 deletion src/examples/StreamingExample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (USE_ZEROMQ)
PUBLIC_HEADER ${StreamingExample_HEADERS})

target_include_directories(StreamingExample PUBLIC ${ZeroMQ_INCLUDE_DIRS})
target_link_libraries(StreamingExample jana2 ${ZeroMQ_LIBRARIES})
target_link_libraries(StreamingExample PUBLIC ${ZeroMQ_LIBRARIES})

else()

Expand Down
7 changes: 3 additions & 4 deletions src/plugins/janacontrol/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ if (${USE_ZEROMQ})
JControlEventProcessor.h)

set (janacontrol_PLUGIN_TESTS
TestsMain.cc
janacontrol-tests.cc
janacontrol_tests.cc
)

add_jana_plugin(janacontrol
Expand All @@ -24,9 +23,9 @@ if (${USE_ZEROMQ})
TESTS ${janacontrol_PLUGIN_TESTS})

target_include_directories(janacontrol PUBLIC ${ZeroMQ_INCLUDE_DIRS})
target_link_libraries(janacontrol ${ZeroMQ_LIBRARIES})
target_link_libraries(janacontrol PUBLIC ${ZeroMQ_LIBRARIES})
target_include_directories(janacontrol_tests PUBLIC ${ZeroMQ_INCLUDE_DIRS})
target_link_libraries(janacontrol_tests ${ZeroMQ_LIBRARIES})
target_link_libraries(janacontrol_tests PUBLIC ${ZeroMQ_LIBRARIES})

else()
message(STATUS "Skipping plugins/janacontrol because USE_ZEROMQ=Off")
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/janarate/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (${USE_ROOT})
add_jana_plugin(janarate SOURCES JEventProcessorJANARATE.cc PUBLIC_HEADER ${JTEST_HEADERS})

target_include_directories(janarate PUBLIC ${ROOT_INCLUDE_DIRS})
target_link_libraries(janarate jana2 ${ROOT_LIBRARIES})
target_link_libraries(janarate PUBLIC ${ROOT_LIBRARIES})

else()
message(STATUS "Skipping plugins/janarate because USE_ROOT=Off")
Expand Down

0 comments on commit c05216a

Please sign in to comment.