mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-07-05 04:22:46 -05:00
Avoid hardcoding DLL names
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user