Compiling HDR10 on windows doesn't install the DLL

Issue #451 new
Mark Harfouche created an issue

The HDR10 plus DLL doesn't install on windows. I think this is the patch you need

diff -r f74003e88622 -r ecffb8553626 source/CMakeLists.txt
--- a/source/CMakeLists.txt     Thu Nov 22 15:02:08 2018 +0530
+++ b/source/CMakeLists.txt     Sun Dec 09 09:13:24 2018 -0500
@@ -635,7 +635,8 @@
     if(ENABLE_HDR10_PLUS)
         install(TARGETS hdr10plus-shared
             LIBRARY DESTINATION ${LIB_INSTALL_DIR}
-            ARCHIVE DESTINATION ${LIB_INSTALL_DIR})
+            ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
+            RUNTIME DESTINATION ${BIN_INSTALL_DIR})
     endif()
     if(LINKER_OPTIONS)
         # set_target_properties can't do list expansion

Comments (0)

  1. Log in to comment