summaryrefslogtreecommitdiffstats
path: root/src/cmake/test/CMakeLists.txt
blob: 864075cbb8c86aa79906cfc42ee69135d9e71fca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This file is part of MXE.
# See index.html for further information.

# 2.8.9 is Debian Wheezy version
cmake_minimum_required(VERSION 2.8.9)

# set languages in individual modules
project(mxe NONE)

# see cmake --help-policy <cmp> for details
cmake_policy(SET CMP0017 NEW)
if (POLICY CMP0020)
    cmake_policy(SET CMP0020 NEW)
endif()

# so we can find pkg-test.cmake files to include
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/../.. ${CMAKE_MODULE_PATH})

include(${PKG}-test)