From 3c19fd226e3d519be0fe11e451f36940b743c6f7 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 23 Dec 2012 21:11:51 +0100 Subject: Use new pkg-config support of libuecc --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 4cdff4a..13c0079 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,9 @@ if(NOT CMAKE_USE_PTHREADS_INIT) MESSAGE(FATAL_ERROR "No pthread support found.") endif(NOT CMAKE_USE_PTHREADS_INIT) -find_package(UECC REQUIRED) +find_package(PkgConfig REQUIRED) +pkg_check_modules(UECC REQUIRED libuecc>=2) + find_package(NaCl REQUIRED) -- cgit v1.2.3