diff options
author | DRC <dcommander@users.sourceforge.net> | 2011-11-07 09:58:19 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2011-11-07 09:58:19 +0000 |
commit | 714110ba26fab6c223221ef54a94e8562fa8e335 (patch) | |
tree | ba56e95148406ff03ad981ccca92187f2ec131c4 /win | |
parent | c736faa1016c26716f7225778ece7aae7e138324 (diff) | |
download | tigervnc-714110ba26fab6c223221ef54a94e8562fa8e335.tar.gz tigervnc-714110ba26fab6c223221ef54a94e8562fa8e335.zip |
Fix installer build when using MinGW
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4769 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win')
-rw-r--r-- | win/winvnc/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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) |