FairMQ/cmake
Christian Tacke cf12379afa cmake: Use target_compile_features()
Problem at hand: dependents (like FairRoot) need to know the
minimum C++ standard level that FairMQ (and its headers)
requires.

The first idea is to let the targets export their
CXX_STANDARD value. First, this doesn't seem to work as
expected.

Second, target_compile_features() seems to be the better
way to go. It has a much better granularity, automatically
has the export feature, and thus should make dependents
behave correctly.

Also drop all of this enforeced CMAKE_CXX_STANDARD*
setting. If it's given, check it. But that's it.

See: https://gitlab.kitware.com/cmake/cmake/-/issues/18446
See: https://cmake.org/cmake/help/latest/manual/cmake-compile-features.7.html#requiring-language-standards
2021-03-26 10:08:07 +01:00
..
cotire.cmake Add experimental FAST_BUILD option 2018-08-09 16:15:15 +02:00
FairMQConfig.cmake.in cmake: Use target_compile_features() 2021-03-26 10:08:07 +01:00
FairMQLib.cmake cmake: Use target_compile_features() 2021-03-26 10:08:07 +01:00
Findasio.cmake SDK: Require C++14, CMake 3.11 and bundle asio 1.13.0 2019-09-04 21:17:35 +02:00
FindPicoSHA2.cmake Add PicoSHA2 dependency 2020-06-05 18:16:13 +02:00
FindPMIx.cmake Improve PMIx Package Finding on Debian 2020-10-08 17:27:12 +02:00
FindZeroMQ.cmake Do not require the static library 2018-08-30 17:39:56 +02:00
GTestHelper.cmake Set C++17 when building OFI transport 2019-03-06 14:23:08 +01:00