From 4f98864eb2781a8635e94d98f550100b1fa4add2 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Thu, 19 Oct 2017 14:20:26 +0200 Subject: Include GNUInstallDirs in src/CMakeLists.txt Fixes installation error under some CMake versions, notably kalakris' CMake backport often used with Travis. --- src/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 148cf78..d5a1936 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -2,6 +2,8 @@ if(${CMAKE_VERSION} VERSION_GREATER "3.3") cmake_policy(SET CMP0063 NEW) endif() +include(GNUInstallDirs) + set(LIBRARY "libcmark") set(STATICLIBRARY "libcmark_static") set(HEADERS -- cgit v1.2.3