Commit cb977e6a authored by Ghislain MARY's avatar Ghislain MARY

Test Threads_FOUND.

parent c3917c23
......@@ -23,9 +23,11 @@
set(INCLUDES ${ANTLR3C_INCLUDE_DIR})
set(LIBS ${ANTLR3C_LIBRARIES})
if(${CMAKE_USE_PTHREADS_INIT} AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "QNX")
list(APPEND LIBS pthread)
endif(${CMAKE_USE_PTHREADS_INIT} AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "QNX")
if(${Threads_FOUND})
if(${CMAKE_USE_PTHREADS_INIT} AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "QNX")
list(APPEND LIBS pthread)
endif(${CMAKE_USE_PTHREADS_INIT} AND NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "QNX")
endif(${Threads_FOUND})
if(${HAVE_LIBDL})
list(APPEND LIBS dl)
endif(${HAVE_LIBDL})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment