From 5ac4a9ed979755c6dc20e818650d3fbf0667bc10 Mon Sep 17 00:00:00 2001 From: Skye Deving <76892045+skyedeving@users.noreply.github.com> Date: Wed, 27 Jan 2021 23:40:57 -0600 Subject: [PATCH] Set property for win32 exectuable to true --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 495f973..8041254 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,13 @@ endif() # AO add_executable(Attorney_Online resources.qrc) +# WIN32 +if(WIN32) + if(CMAKE_BUILD_TYPE STREQUAL "Release") + set_property(TARGET Attorney_Online PROPERTY WIN32_EXECUTABLE true) + endif() +endif() + # Target Include target_include_directories(Attorney_Online PRIVATE include)