From acaedee159abfc0121e7a9997d3e7a4ae24e8933 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 3 Apr 2015 10:32:05 -0700 Subject: cmake: make Windows binary a GUI app This way we don't get the annoying terminal window Signed-off-by: Dirk Hohndel --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 997848cf4..398bc3656 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -167,6 +167,7 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "Windows") SET(PLATFORM_SRC windows.c) set(SUBSURFACE_LINK_LIBRARIES ${SUBSURFACE_LINK_LIBRARIES} -lwsock32) remove_definitions(-DUNICODE) + add_definitions(-mwindows) if(NOT DEFINED LRELEASE) set(LRELEASE lrelease.exe) endif() -- cgit v1.2.3-70-g09d2