summaryrefslogtreecommitdiffstats
path: root/src/cmake
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-10-04 05:01:18 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-10-04 05:01:18 (GMT)
commitee5db756fa617c9d5ba6ffb1c9f19cf256a880e3 (patch)
tree89ff22e81cb4927db77bfec80244d343ab9d4e6d /src/cmake
parent1dd126b160ef3ec80fee9b2c5d0563486815cbe6 (diff)
downloadmxe-ee5db756fa617c9d5ba6ffb1c9f19cf256a880e3.zip
mxe-ee5db756fa617c9d5ba6ffb1c9f19cf256a880e3.tar.gz
mxe-ee5db756fa617c9d5ba6ffb1c9f19cf256a880e3.tar.bz2
boost pthreads sdl: tidy up cmake tests
closes #887
Diffstat (limited to 'src/cmake')
-rw-r--r--src/cmake/test/CMakeLists.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/cmake/test/CMakeLists.txt b/src/cmake/test/CMakeLists.txt
new file mode 100644
index 0000000..31d4af2
--- /dev/null
+++ b/src/cmake/test/CMakeLists.txt
@@ -0,0 +1,18 @@
+# This file is part of MXE.
+# See index.html for further information.
+
+# 2.8.11 is recommended as a minimum for Qt5
+# http://doc.qt.io/qt-5/cmake-manual.html
+cmake_minimum_required(VERSION 2.8.11)
+
+# set languages in individual modules
+project(mxe LANGUAGES NONE)
+
+# see cmake --help-policy <cmp> for details
+cmake_policy(SET CMP0017 NEW)
+cmake_policy(SET CMP0020 NEW)
+
+# so we can find pkg-test.cmake files to include
+set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/../.. ${CMAKE_MODULE_PATH})
+
+include(${PKG}-test)