mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-11-05 02:46:56 +03:00
fix installing external libraries, because on Windows they need to bin installed in the binary directory
This commit is contained in:
parent
e8367cea5c
commit
0920986d6e
@ -16,6 +16,12 @@ else()
|
||||
QComposePlatformInputContextPlugin)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
set(INSTALL_LIBDIR ${CMAKE_INSTALL_BINDIR})
|
||||
elseif(NOT APPLE)
|
||||
set(INSTALL_LIBDIR ${CMAKE_INSTALL_LIBDIR})
|
||||
endif()
|
||||
|
||||
if(FLATPAK)
|
||||
qt_import_plugins(gittyup INCLUDE ${QT_PLUGINS})
|
||||
elseif(NOT USE_SYSTEM_QT)
|
||||
@ -99,7 +105,7 @@ elseif(NOT USE_SYSTEM_QT)
|
||||
|
||||
install(
|
||||
FILES ${QT_LIBRARY}
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
DESTINATION ${INSTALL_LIBDIR}
|
||||
PERMISSIONS
|
||||
OWNER_READ
|
||||
OWNER_WRITE
|
||||
@ -165,7 +171,7 @@ if(NOT APPLE)
|
||||
|
||||
install(
|
||||
FILES ${SSL_LIB}
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
DESTINATION ${INSTALL_LIBDIR}
|
||||
PERMISSIONS
|
||||
OWNER_READ
|
||||
OWNER_WRITE
|
||||
|
Loading…
Reference in New Issue
Block a user