diff options
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) |