From 4aa978a48d7d669bb23c039bcdfaac70b22313e9 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 9 Jun 2015 04:30:16 +0200 Subject: cmake: reduce verbosity --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 610d831f..ebe1ac3e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,12 +1,12 @@ project(opentrack) cmake_minimum_required(VERSION 2.8.11) cmake_policy(SET CMP0020 NEW) +cmake_policy(SET CMP0058 OLD) include(CMakeParseArguments) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/) include(GetGitRevisionDescription) -include(FindPkgConfig) find_package(Git QUIET) if(GIT_FOUND) git_describe(OPENTRACK__COMMIT --tags --always) @@ -253,6 +253,7 @@ if(SDK_VJOY) endif() if(SDK_ENABLE_LIBEVDEV) + include(FindPkgConfig) opentrack_library(opentrack-proto-libevdev ftnoir_protocol_libevdev) pkg_check_modules(libevdev REQUIRED QUIET libevdev) target_link_libraries(opentrack-proto-libevdev ${libevdev_LIBRARIES}) -- cgit v1.2.3