From 52eb7f4fb76ddf99dedf44332aae7af4df76ab36 Mon Sep 17 00:00:00 2001 From: Vasilii Chernov Date: Wed, 17 Feb 2016 18:13:36 +0100 Subject: Add test to repository. Add GIL states to pcilib_set_value_from_pyobject --- apps/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/CMakeLists.txt') diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index 4524db4..2a1471c 100644 --- a/apps/CMakeLists.txt +++ b/apps/CMakeLists.txt @@ -7,6 +7,10 @@ link_directories( ${CMAKE_BINARY_DIR}/pcilib ) +find_package (Threads) +add_executable(test_multithread test_multithread.c) +target_link_libraries (test_multithread pcilib ${CMAKE_THREAD_LIBS_INIT}) + add_executable(xilinx xilinx.c) target_link_libraries(xilinx pcilib rt) -- cgit v1.2.3