move libdir cmake a bit
This commit is contained in:
parent
c61ecaaa40
commit
6efd8b46ab
1 changed files with 1 additions and 4 deletions
|
@ -509,6 +509,7 @@ endif()
|
||||||
target_compile_definitions(rssguard
|
target_compile_definitions(rssguard
|
||||||
PRIVATE
|
PRIVATE
|
||||||
RSSGUARD_DLLSPEC=Q_DECL_EXPORT
|
RSSGUARD_DLLSPEC=Q_DECL_EXPORT
|
||||||
|
RSSGUARD_LIBDIR="${CMAKE_INSTALL_LIBDIR}"
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories(rssguard
|
target_include_directories(rssguard
|
||||||
|
@ -636,10 +637,6 @@ if(WIN32 OR OS2)
|
||||||
elseif(UNIX AND NOT APPLE AND NOT ANDROID)
|
elseif(UNIX AND NOT APPLE AND NOT ANDROID)
|
||||||
include (GNUInstallDirs)
|
include (GNUInstallDirs)
|
||||||
install(TARGETS rssguard DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
install(TARGETS rssguard DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
target_compile_definitions(rssguard
|
|
||||||
PRIVATE
|
|
||||||
RSSGUARD_LIBDIR="${CMAKE_INSTALL_LIBDIR}"
|
|
||||||
)
|
|
||||||
set(HEADERS_FOLDER "${CMAKE_INSTALL_INCLUDEDIR}/librssguard")
|
set(HEADERS_FOLDER "${CMAKE_INSTALL_INCLUDEDIR}/librssguard")
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
install(TARGETS rssguard DESTINATION Contents/MacOS)
|
install(TARGETS rssguard DESTINATION Contents/MacOS)
|
||||||
|
|
Loading…
Add table
Reference in a new issue