diff options
author | Naios <naios-dev@live.de> | 2017-10-31 01:29:51 +0100 |
---|---|---|
committer | Naios <naios-dev@live.de> | 2017-12-20 04:04:27 +0100 |
commit | ff35262a3ac804db7a941f29040e4b299a7cb7c4 (patch) | |
tree | fe05ea8b57ab71056a6e800a00213fbab8a066c7 /dep/efsw | |
parent | af7352118b6e7306a8d8a28934ee62f27886808e (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
(cherry picked from commit e60c1f84a7e13577a82046b02b214f9466d20a7c)
Diffstat (limited to 'dep/efsw')
-rw-r--r-- | dep/efsw/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dep/efsw/CMakeLists.txt b/dep/efsw/CMakeLists.txt index f268558a527..b37e5021e0a 100644 --- a/dep/efsw/CMakeLists.txt +++ b/dep/efsw/CMakeLists.txt @@ -73,6 +73,8 @@ if (BUILD_SHARED_LIBS) ${CMAKE_CURRENT_SOURCE_DIR}/src) target_link_libraries(efsw + PRIVATE + trinity-dependency-interface PUBLIC threads ${OPTIONAL_MAC_LINK_LIBRARIES}) |