From b1933e1c8e2988975ad8a5d9bddad300f3df485f Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Thu, 6 Jun 2019 17:59:00 +0200 Subject: [HICN-213] Fix pthread linking in apps Change-Id: I3ec3026c439ab7630333e24312443de16c7249cb Signed-off-by: Mauro Sardara --- apps/CMakeLists.txt | 1 + apps/http-proxy/CMakeLists.txt | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index f2a950a6d..cec404034 100644 --- a/apps/CMakeLists.txt +++ b/apps/CMakeLists.txt @@ -27,6 +27,7 @@ include(WindowsMacros) if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR) find_package(Libtransport REQUIRED) + find_package(Threads REQUIRED) include_directories(${LIBTRANSPORT_INCLUDE_DIRS}) set(HICN_APPS hicn-apps) else() diff --git a/apps/http-proxy/CMakeLists.txt b/apps/http-proxy/CMakeLists.txt index 85c044d58..7c68131ef 100644 --- a/apps/http-proxy/CMakeLists.txt +++ b/apps/http-proxy/CMakeLists.txt @@ -24,7 +24,6 @@ if (NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release") endif () -find_package(Threads REQUIRED) include_directories( SYSTEM ${CMAKE_BINARY_DIR} -- cgit 1.2.3-korg