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
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})