  if(EXPRESSCPP_ENABLE_COVERAGE)
    if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
      message(WARNING "Code coverage results with an optimised (non-Debug) build may be misleading")
+@@ -288,7 +292,8 @@ set(EXPRESSCPP_CONFIG_INSTALL_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})
+ install(TARGETS ${PROJECT_NAME}
+         EXPORT ${PROJECT_NAME}Targets
+         LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT lib
+-        ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT lib)
++        ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT lib
++        RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT lib)
+ 
+ install(EXPORT ${PROJECT_NAME}Targets
+         DESTINATION ${EXPRESSCPP_CONFIG_INSTALL_DIR}
 diff --git a/src/expresscpp.cpp b/src/expresscpp.cpp
 index 985f71d..9232ff9 100644
 --- a/src/expresscpp.cpp


Signed-off-by: Matheus Catarino França <matheus-catarino@hotmail.com>
---
 CMakeLists.txt     | 4 ++++
 src/expresscpp.cpp | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7e5dfbb..4047955 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -80,6 +80,10 @@ if(NOT BUILD_SHARED_LIBS)

From 25374b871e517303a67777c5c672a7eeced0f8eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matheus=20Catarino=20Fran=C3=A7a?=
 <matheus-catarino@hotmail.com>
Date: Sat, 12 Dec 2020 15:29:49 -0300
Subject: [PATCH] Windows dll - mingw
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
