Mercurial > hg > orthanc
changeset 6298:96619f473bee utf8-path
fix
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Thu, 04 Sep 2025 15:24:37 +0200 |
parents | 7a70d71a69bc |
children | b87d403d1f4d |
files | OrthancServer/CMakeLists.txt |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/CMakeLists.txt Thu Sep 04 15:05:34 2025 +0200 +++ b/OrthancServer/CMakeLists.txt Thu Sep 04 15:24:37 2025 +0200 @@ -473,7 +473,10 @@ # since we use wmain on Windows, we need to tell MinGW to link with wmain if (WIN32 AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - target_link_options(Orthanc PRIVATE -municode) + set_property( + TARGET Orthanc + PROPERTY LINK_FLAGS "-municode" + ) endif() @@ -939,7 +942,10 @@ # since we use wmain on Windows, we need to tell MinGW to link with wmain if (WIN32 AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - target_link_options(OrthancRecoverCompressedFile PRIVATE -municode) + set_property( + TARGET OrthancRecoverCompressedFile + PROPERTY LINK_FLAGS "-municode" + ) endif() install(