aboutsummaryrefslogtreecommitdiff
path: root/dep/bzip2
diff options
context:
space:
mode:
authorNaios <naios-dev@live.de>2017-10-31 01:29:51 +0100
committerNaios <naios-dev@live.de>2017-12-17 20:22:33 +0100
commite60c1f84a7e13577a82046b02b214f9466d20a7c (patch)
tree4413801132daff4fd180cd6569ffde230b5ba50b /dep/bzip2
parent5a9ccae3e1115d6fb1dcc287b1cb2d45779fd39b (diff)
Build: Use interface targets for inheriting flags and definitions
* Remove the usage of global flags and definitions set through the CMAKE_CXX_FLAGS variable. * Use cmake target compile features for setting the CXX standard automatically. * Make C++14 globally available in the project * Closes #21033
Diffstat (limited to 'dep/bzip2')
-rw-r--r--dep/bzip2/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/dep/bzip2/CMakeLists.txt b/dep/bzip2/CMakeLists.txt
index ad3d92933c4..22a3d522c04 100644
--- a/dep/bzip2/CMakeLists.txt
+++ b/dep/bzip2/CMakeLists.txt
@@ -30,6 +30,10 @@ else()
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR})
+ target_link_libraries(bzip2
+ PRIVATE
+ trinity-dependency-interface)
+
set_target_properties(bzip2
PROPERTIES
FOLDER