summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-06-09 04:30:16 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-06-09 04:30:16 +0200
commit4aa978a48d7d669bb23c039bcdfaac70b22313e9 (patch)
treef869f5279d0129d5fa2a2eb7cacce75b55da40aa /CMakeLists.txt
parent086dd0cd3ac2bbdd0660333c5466610c09781507 (diff)
cmake: reduce verbosity
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
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})