Skip to content

Commit

Permalink
Added check for pthread. refs #4053
Browse files Browse the repository at this point in the history
Added check for Threads package in CMake.
  • Loading branch information
stuartcampbell committed Nov 3, 2011
1 parent 3ee92c5 commit 413ca4c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Code/Mantid/MantidQt/CustomInterfaces/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ add_library ( CustomInterfaces ${ALL_SRC} ${INC_FILES} ${UI_HDRS} )
# Set the name of the generated library
set_target_properties ( CustomInterfaces PROPERTIES OUTPUT_NAME MantidQtCustomInterfaces )

target_link_libraries ( CustomInterfaces MantidQtAPI MantidWidgets QtPropertyBrowser )
Find_Package(Threads)

target_link_libraries ( CustomInterfaces MantidQtAPI MantidWidgets QtPropertyBrowser ${CMAKE_THREAD_LIBS_INIT})

if ( CXXTEST_FOUND )

Expand Down

0 comments on commit 413ca4c

Please sign in to comment.