move libdir cmake a bit

This commit is contained in:
Martin Rotter 2024-05-22 08:11:20 +02:00
parent c61ecaaa40
commit 6efd8b46ab
1 changed files with 1 additions and 4 deletions

View File

@ -509,6 +509,7 @@ endif()
target_compile_definitions(rssguard
PRIVATE
RSSGUARD_DLLSPEC=Q_DECL_EXPORT
RSSGUARD_LIBDIR="${CMAKE_INSTALL_LIBDIR}"
)
target_include_directories(rssguard
@ -636,10 +637,6 @@ if(WIN32 OR OS2)
elseif(UNIX AND NOT APPLE AND NOT ANDROID)
include (GNUInstallDirs)
install(TARGETS rssguard DESTINATION ${CMAKE_INSTALL_LIBDIR})
target_compile_definitions(rssguard
PRIVATE
RSSGUARD_LIBDIR="${CMAKE_INSTALL_LIBDIR}"
)
set(HEADERS_FOLDER "${CMAKE_INSTALL_INCLUDEDIR}/librssguard")
elseif(APPLE)
install(TARGETS rssguard DESTINATION Contents/MacOS)