From 29857b87efdec4ed6a4adb8162d2428460eec53a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 7 Jun 2017 03:55:46 +0200 Subject: cmake: cleanup We now inherit parent process' console. No need for the cmake cache option. --- gui/CMakeLists.txt | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'gui') diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 7d140dd6..d0cba4ac 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -1,14 +1,4 @@ -if(MSVC OR (NOT SDK_CONSOLE_DEBUG AND WIN32)) - set(console "") -else() - set(console WIN32-CONSOLE) -endif() - -if(WIN32) - SET(SDK_CONSOLE_DEBUG FALSE CACHE BOOL "Console window visible at runtime") -endif() - -otr_module(user-interface EXECUTABLE BIN ${console}) +otr_module(user-interface EXECUTABLE BIN) set_target_properties(opentrack-user-interface PROPERTIES SUFFIX "${opentrack-binary-suffix}" -- cgit v1.2.3