From 68fb66f19ca74956f834975613c467404f3848c4 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Thu, 29 Mar 2018 21:14:25 +0200 Subject: [PATCH] updated CMakeLists.txt for standalone builds --- .gitignore | 1 + CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e35d885 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +_build diff --git a/CMakeLists.txt b/CMakeLists.txt index 79f6f6b..7cb0257 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,9 @@ cmake_minimum_required(VERSION 3.5) -find_package(XMLRPC REQUIRED c++2 client) - project(DokuWiki LANGUAGES CXX) +find_package(XMLRPC REQUIRED c++2 client) + set(dokuwiki_headers include/dokuwiki.h source/dokuwiki.impl.h