diff options
| author | Skye Deving <76892045+skyedeving@users.noreply.github.com> | 2021-01-27 23:40:57 -0600 |
|---|---|---|
| committer | Skye Deving <76892045+skyedeving@users.noreply.github.com> | 2021-01-28 11:05:42 -0600 |
| commit | 5ac4a9ed979755c6dc20e818650d3fbf0667bc10 (patch) | |
| tree | 63605212cc31adaa050ea3001bc04f300d0101a8 | |
| parent | d4a2282a3e468b22a36b59d6ed16ec1cdddad833 (diff) | |
Set property for win32 exectuable to true
| -rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 495f9731..80412549 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) |
