From 714110ba26fab6c223221ef54a94e8562fa8e335 Mon Sep 17 00:00:00 2001 From: DRC Date: Mon, 7 Nov 2011 09:58:19 +0000 Subject: [PATCH] Fix installer build when using MinGW git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4769 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- win/winvnc/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/win/winvnc/CMakeLists.txt b/win/winvnc/CMakeLists.txt index dc567b12..dd9117b5 100644 --- a/win/winvnc/CMakeLists.txt +++ b/win/winvnc/CMakeLists.txt @@ -10,6 +10,11 @@ add_library(wm_hooks SHARED ../wm_hooks/wm_hooks.def ../wm_hooks/wm_hooks.rc) +# We want the DLL to be named wm_hooks.dll rather than libwm_hooks.dll +if(MINGW) + set_target_properties(wm_hooks PROPERTIES PREFIX "") +endif() + set(VNCVIEWER_JAR_PATH ${CMAKE_BINARY_DIR}/java/VncViewer.jar) set(INDEX_VNC_PATH ${CMAKE_CURRENT_SOURCE_DIR}/index.vnc) -- 2.39.5