summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-06 12:24:32 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-06 12:24:32 +0200
commit0d42cba7e4871d2f099fd93e757556a0502d6714 (patch)
treed0e385f488bbf3d18f85ad24e432830feefebc61 /CMakeLists.txt
parentf69ac22aa0dbe7218c33a374133c88e8f4e5a65a (diff)
cmake: add universally good build defaults
These were in the mingw-w64 toolchain file but it's good to have them in general.
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-xCMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b5dc355e..9a6eb704 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,8 @@
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake/)
include(opentrack-check-build-directory)
+include(opentrack-build)
-project(opentrack)
+project(opentrack C CXX)
cmake_minimum_required(VERSION 2.8.11)
include(CMakeParseArguments)