From: DRC Date: Mon, 7 Nov 2011 09:58:19 +0000 (+0000) Subject: Fix installer build when using MinGW X-Git-Tag: v1.1.90~52 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=714110ba26fab6c223221ef54a94e8562fa8e335;p=tigervnc.git Fix installer build when using MinGW git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4769 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- 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)