summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
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 /cmake/opentrack-boilerplate.cmake
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 'cmake/opentrack-boilerplate.cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 54643c42..9a979567 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -106,7 +106,7 @@ macro(opentrack_boilerplate n)
message(FATAL_ERROR "opentrack_boilerplate bad formals ${${n}-args_UNPARSED_ARGUMENTS}")
endif()
if(NOT ${n}-args_STAGE2)
- project(${n})
+ project(${n} C CXX)
opentrack_set_globs(${n})
opentrack_qt(${n})
endif()