freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] [PATCH] Install DLL files in CMAKE_INSTALL_BINDIR


From: David Demelier
Subject: [ft-devel] [PATCH] Install DLL files in CMAKE_INSTALL_BINDIR
Date: Wed, 17 Oct 2018 09:41:07 +0200

On Windows, you need to specify RUNTIME DESTINATION to install() in case
of DLL builds.
---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f7793a04d..c27ae9533 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -469,6 +469,7 @@ if (NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
       EXPORT freetype-targets
       LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
       ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+      RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
       FRAMEWORK DESTINATION Library/Frameworks
       COMPONENT libraries)
   install(
-- 
2.19.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]