summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-04-06 01:03:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-06 04:21:42 +0200
commitff7e852fd85c6b8154a88215e457b9dca6899068 (patch)
tree225e4cb353bf75a10ad2cf2e5ffb9a2827b5812f /gui
parente69e3c4fa5e5ba255537412d4b559e32ff8f1914 (diff)
cmake: PROJECT() must be invoked from inside a macro
Otherwise CMAKE_PROJECT_NAME and PROJECT_NAME are equal when invoked from inside a function. Also, split headers and units into separate variables for further testing. cf. https://bugreports.qt.io/browse/QTCREATORBUG-17955
Diffstat (limited to 'gui')
-rw-r--r--gui/CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
index 3cd17e24..7d140dd6 100644
--- a/gui/CMakeLists.txt
+++ b/gui/CMakeLists.txt
@@ -1,5 +1,3 @@
-project(opentrack-user-interface)
-
if(MSVC OR (NOT SDK_CONSOLE_DEBUG AND WIN32))
set(console "")
else()