aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
blob: dce9375c6da6d6acc4898dcc89264124653b6add (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyrigt 2012 Kamil Rytarowski <kamil AT mageia DOT org>
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

cmake_minimum_required (VERSION 2.8)
project (mgasvnstats)

add_executable (mgasvnstats main.cpp)

set(CMAKE_MODULE_PATH
    "${PROJECT_SOURCE_DIR}/cmake/modules")

find_package (PugiXML REQUIRED)
include_directories (${PUGIXML_INCLUDE_DIR})
target_link_libraries (mgasvnstats ${PUGIXML_LIBRARY})

set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") 
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")