From 8e63b1c9c834035678159ef883ed0b6be107dc09 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 4 Feb 2012 19:01:00 +0100 Subject: Link pci with pthread --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index e484f1d..b26fdee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,6 +39,9 @@ if (NOT DISABLE_PCITOOL) add_executable(pci cli.c) add_dependencies(pci pcitool) target_link_libraries(pci pcilib pcitool fastwriter) + set_target_properties(pci PROPERTIES + LINK_FLAGS "-pthread" + ) endif (NOT DISABLE_PCITOOL) #set_target_properties(pci PROPERTIES -- cgit v1.2.3