feat(Cmake/Build): Use interface targets for inheriting flags and definitions (#2255)

Co-authored-by: Naios Naios@users.noreply.github.com
This commit is contained in:
Kargatum 2019-09-18 20:04:48 +07:00 committed by GitHub
parent 91d62373cc
commit 0e6c9a18f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 291 additions and 72 deletions

View file

@ -85,6 +85,8 @@ if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND SERVERS AND NOT NOJEM)
-D_REENTRAN)
target_link_libraries(jemalloc
PRIVATE
acore-dependency-interface
PUBLIC
threads
${CMAKE_DL_LIBS})