Use all-keyword style in target_link_libraries()
When using builtin_openssl=ON, CMake erroneously exports the builtin static libraries in ROOTConfig-targets.cmake, which causes problems with dependent projects. In order to avoid this, we need Net and RHTTP to use SSL as a private dependency. Since CMake requires target_link_libraries() to either be all-plain (as before) or all-keyword (required to allow PRIVATE linking), we need to move the build system to use all-keyword linking only. Fixes: ROOT-9532
Showing
- cmake/modules/RootNewMacros.cmake 2 additions, 2 deletionscmake/modules/RootNewMacros.cmake
- core/metacling/src/CMakeLists.txt 2 additions, 2 deletionscore/metacling/src/CMakeLists.txt
- math/vecops/CMakeLists.txt 1 addition, 1 deletionmath/vecops/CMakeLists.txt
- net/http/CMakeLists.txt 1 addition, 1 deletionnet/http/CMakeLists.txt
- net/net/CMakeLists.txt 1 addition, 1 deletionnet/net/CMakeLists.txt
Please register or sign in to comment