From 5e35ce695151a17ddeb6f8c4c8ff6b9332a7a390 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Thu, 29 Jul 2021 13:38:16 -0700 Subject: [PATCH] cmake: set win32 executable --- app/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 792835af4..f2e95c1aa 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -100,6 +100,10 @@ endif() if (WIN32) # Set Windows application icon target_sources(olive-editor PRIVATE packaging/windows/resources.rc) + + set_target_properties(olive-editor PROPERTIES + WIN32_EXECUTABLE TRUE + ) elseif(APPLE) # Set Mac application icon set(OLIVE_ICON packaging/macos/olive.icns)