[SkipList] Added random-lvel generators for max height 32/24/16
[libcds.git] / test / CMakeLists.txt
index d27c6f5..3c13836 100644 (file)
@@ -2,13 +2,22 @@
 if (NOT GTEST_INCLUDE_DIRS)
    find_package(GTest REQUIRED)
 endif()
-message("GTest: ${GTEST_INCLUDE_DIRS}, lib: ${GTEST_LIBRARY}")
+message("GTest: ${GTEST_INCLUDE_DIRS}, lib: ${GTEST_LIBRARIES}")
 
 include_directories(
     ${CMAKE_CURRENT_SOURCE_DIR}/include
     ${GTEST_INCLUDE_DIRS}
 )
 
+set(CDS_TEST_LIBRARIES
+    ${CDS_SHARED_LIBRARY}
+    ${GTEST_LIBRARIES}
+    ${Boost_THREAD_LIBRARY}
+    ${Boost_SYSTEM_LIBRARY}
+    ${CMAKE_THREAD_LIBS_INIT}
+    ${EXTERNAL_SYSTEM_LIBS}
+)
+
 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DGTEST_LANG_CXX11") 
  
 add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/unit)