We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10ec4e1 commit a99cf04Copy full SHA for a99cf04
CMakeLists.txt
@@ -95,6 +95,10 @@ if(WIN32)
95
install(FILES ${GRAPHQLSERVICE_DIR}/graphqlservice.lib
96
DESTINATION lib)
97
98
- install(CODE "include(${CMAKE_SOURCE_DIR}/copy-windows-dlls.cmake)"
99
- CODE "copy_windows_dlls(${CMAKE_BINARY_DIR})")
+ option(INSTALL_WINDOWS_DLLS "Copy all Windows DLLs as part of the install to get dependencies." OFF)
+
100
+ if(INSTALL_WINDOWS_DLLS)
101
+ install(CODE "include(${CMAKE_SOURCE_DIR}/copy-windows-dlls.cmake)"
102
+ CODE "copy_windows_dlls(${CMAKE_BINARY_DIR})")
103
+ endif()
104
endif()
0 commit comments