diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-04-03 10:32:05 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-04-03 12:36:30 -0700 |
commit | acaedee159abfc0121e7a9997d3e7a4ae24e8933 (patch) | |
tree | 237a4b0c01201a32535bd0778eaee283b8793518 | |
parent | 3dac769c333ffce6fa10f0bc7985a7a19953af24 (diff) | |
download | subsurface-acaedee159abfc0121e7a9997d3e7a4ae24e8933.tar.gz |
cmake: make Windows binary a GUI app
This way we don't get the annoying terminal window
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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() |