Commit 629bb189 authored by cianciosa's avatar cianciosa
Browse files

Add pthread library to linux builds now that the graph framework uses threads....

Add pthread library to linux builds now that the graph framework uses threads. No longer need to link pthread when building tools.
parent c997cecf
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
add_tool_target (xrays_bench)

target_link_libraries (xrays_bench

                       PUBLIC
                       $<$<PLATFORM_ID:Linux>:pthread>
)

if (${USE_PCH})
    target_precompile_headers (xrays_bench REUSE_FROM xrays)
endif ()
+0 −6
Original line number Diff line number Diff line
add_tool_target (xrays)

target_link_libraries (xrays

                       PUBLIC
                       $<$<PLATFORM_ID:Linux>:pthread>
)
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ target_link_libraries (rays
                       gpu_lib
                       NetCDF::NetCDF
                       $<$<PLATFORM_ID:Linux>:${CMAKE_DL_LIBS}>
                       $<$<PLATFORM_ID:Linux>:pthread>
)
target_precompile_headers (rays
                           INTERFACE