Skip to content
Snippets Groups Projects
Commit 5387c76b authored by Francois Bleibel's avatar Francois Bleibel
Browse files

Added pthread definition on UNIX.

parent 0ff1e425
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,10 @@
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/test-paths.h.cmake
${CMAKE_CURRENT_SOURCE_DIR}/test-paths.h)
IF(UNIX)
ADD_DEFINITIONS(-pthread)
ENDIF(UNIX)
#The sot-core plugin libraries that tests have to be linked against
#the name of the variable for test EXECUTABLE_NAME is TEST_${EXECUTABLE_NAME}_LIBS
SET(TEST_tsot_LIBS
......@@ -22,6 +26,10 @@ SET(TEST_traces_LIBS
${CMAKE_INSTALL_PREFIX}/lib/plugin/tracer.so
)
ENDIF(UNIX)
IF(UNIX)
ADD_DEFINITIONS(-pthread)
ENDIF(UNIX)
IF(WIN32)
SET(TEST_traces_LIBS
${CMAKE_INSTALL_PREFIX}/lib/plugin/tracer.lib
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment