Skip to content

CMakeLists.txt: Honor language standard settings in try_compile

Thomas Braun requested to merge fix-macosx-build into main

This fix was needed to get it compiled on MacOSX Monterey

21.6.0 Darwin Kernel Version 21.6.0: Mon Dec 19 20:44:01 PST 2022; root:xnu-8020.240.18~2/RELEASE_X86_64 x86_64

and cmake 3.23.2.

Otherwise test_cppzmq_features.cpp fails to compile as it requires at least C++11.

Close #1090 (closed)

Merge request reports