From ff7e852fd85c6b8154a88215e457b9dca6899068 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 6 Apr 2017 01:03:12 +0200 Subject: 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 --- gui/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'gui') 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() -- cgit v1.2.3