mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-05-20 10:24:29 -05:00
Avoid hardcoding DLL names
This commit is contained in:
parent
c930d9aa7a
commit
1bf5f9a07b
@ -68,12 +68,12 @@ include(CMakeTest)
|
|||||||
# installation rules for a project
|
# installation rules for a project
|
||||||
install(TARGETS osslsigncode RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX})
|
install(TARGETS osslsigncode RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX})
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
install(FILES
|
install(
|
||||||
"${PROJECT_BINARY_DIR}/libcrypto-3-x64.dll"
|
DIRECTORY ${PROJECT_BINARY_DIR}/ DESTINATION ${CMAKE_INSTALL_PREFIX}
|
||||||
"${PROJECT_BINARY_DIR}/libcurl.dll"
|
FILES_MATCHING
|
||||||
"${PROJECT_BINARY_DIR}/zlib1.dll"
|
PATTERN "*.dll"
|
||||||
DESTINATION ${CMAKE_INSTALL_PREFIX}
|
PATTERN "vcpkg_installed" EXCLUDE
|
||||||
)
|
)
|
||||||
else()
|
else(WIN32)
|
||||||
include(CMakeDist)
|
include(CMakeDist)
|
||||||
endif()
|
endif(WIN32)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user