da1973243a317734a9ca5306b446246804966ef9
[iec.git] / src / type3_AndroidCloud / anbox-master / external / process-cpp-minimal / CMakeLists.txt
1 # Copyright © 2013 Canonical Ltd.
2 #
3 # This program is free software: you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License version 3 as
5 # published by the Free Software Foundation.
6 #
7 # This program is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 # GNU General Public License for more details.
11 #
12 # You should have received a copy of the GNU General Public License
13 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
14 #
15 # Authored by: Thomas Voss <thomas.voss@canonical.com>
16
17 cmake_minimum_required(VERSION 2.8)
18
19 project(process-cpp)
20
21 find_package(Boost COMPONENTS iostreams system REQUIRED)
22 find_package(Threads REQUIRED)
23
24 include(GNUInstallDirs)
25
26 set(PROCESS_CPP_VERSION_MAJOR 2)
27 set(PROCESS_CPP_VERSION_MINOR 0)
28 set(PROCESS_CPP_VERSION_PATCH 0)
29
30 include(CTest)
31
32 include_directories(
33   include/
34   src/
35   external/process-cpp-minimal
36   ${Boost_INCLUDE_DIRS}
37 )
38
39 add_subdirectory(src)