From 552428ca53ba6fab1829f186d1f51ec17383262c Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Tue, 12 Mar 2024 08:32:05 +0100 Subject: [PATCH] Fix wfreerdp-server-cli output and pdb name --- server/Windows/cli/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/Windows/cli/CMakeLists.txt b/server/Windows/cli/CMakeLists.txt index e125ac3cf..d3dc4477d 100644 --- a/server/Windows/cli/CMakeLists.txt +++ b/server/Windows/cli/CMakeLists.txt @@ -16,7 +16,7 @@ # limitations under the License. set(MODULE_NAME "wfreerdp-server-cli") -set(OUTPUT_NAME " wfreerdp-server") +set(OUTPUT_NAME "wfreerdp-server") set(MODULE_PREFIX "FREERDP_SERVER_WINDOWS_CLI") include_directories(..) @@ -43,8 +43,10 @@ add_executable(${MODULE_NAME} ${${MODULE_PREFIX}_SRCS}) if (WITH_BINARY_VERSIONING) set_target_properties(${MODULE_NAME} PROPERTIES OUTPUT_NAME "${OUTPUT_NAME}${FREERDP_API_VERSION}") + set_target_properties(${MODULE_NAME} PROPERTIES PDB_NAME "${OUTPUT_NAME}${FREERDP_API_VERSION}${CMAKE_EXECUTABLE_SUFFIX}") else() set_target_properties(${MODULE_NAME} PROPERTIES OUTPUT_NAME "${OUTPUT_NAME}") + set_target_properties(${MODULE_NAME} PROPERTIES PDB_NAME "${OUTPUT_NAME}${CMAKE_EXECUTABLE_SUFFIX}") endif() set(${MODULE_PREFIX}_LIBS wfreerdp-server)