File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
source/detours/funchook_detour Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ elseif(APPLE)
2222 set (FUNCHOOK_LIBRARY_PREFIX "lib" )
2323 set (FUNCHOOK_LIBRARY_SUFFIX "dylib" )
2424 set (FUNCHOOK_LIBRARY_INSTALL_SUFFIX "dylib" )
25- else ()
25+ else ()
2626 set (FUNCHOOK_LIBRARY_PREFIX "lib" )
2727 set (FUNCHOOK_LIBRARY_SUFFIX "so" )
2828 set (FUNCHOOK_LIBRARY_INSTALL_SUFFIX "so" )
@@ -265,9 +265,18 @@ target_link_libraries(${target}
265265# Deployment
266266#
267267
268- # Dependency
268+ if (WIN32 )
269+ set (FUNCHOOK_LIBRARY_SONAME_INSTALL_DIR)
270+ else ()
271+ set (FUNCHOOK_LIBRARY_SONAME_INSTALL_DIR
272+ ${FUNCHOOK_LIBRARY_INSTALL_DIR} .1
273+ ${FUNCHOOK_LIBRARY_INSTALL_DIR} .1.0.0)
274+ endif ()
275+
276+ # Dependency (including symbolic links)
269277install (FILES
270278 ${FUNCHOOK_LIBRARY_INSTALL_DIR}
279+ ${FUNCHOOK_LIBRARY_SONAME_INSTALL_DIR}
271280 DESTINATION ${INSTALL_LIB}
272281 COMPONENT runtime
273282)
You can’t perform that action at this time.
0 commit comments