Skip to content

Commit a7c59e9

Browse files
author
Piotr Obrzut
committed
Added static libraries to the connector-cpp msi
1 parent f94274a commit a7c59e9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packaging/WiX/cpack_msi_setup.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,12 @@ FOREACH(comp ${CPACK_COMPONENTS_ALL})
158158
-DCMAKE_INSTALL_PREFIX= -P ${CMAKE_BINARY_DIR}/cmake_install.cmake
159159
OUTPUT_QUIET
160160
)
161+
# Adding static libraries
162+
EXECUTE_PROCESS(
163+
COMMAND ${CMAKE_COMMAND} -DCMAKE_INSTALL_CONFIG_NAME=Static -DCMAKE_INSTALL_COMPONENT=${comp}
164+
-DCMAKE_INSTALL_PREFIX= -P ${CMAKE_BINARY_DIR}/cmake_install.cmake
165+
OUTPUT_QUIET
166+
)
161167
ENDFOREACH()
162168

163169
MACRO(GENERATE_GUID VarName)

0 commit comments

Comments
 (0)