It is working now, after I added -lc++ to CMAKE_REQUIRED_LIBRARIES before the
check_cxx_source_compiles() call.
Shouldn't this be done by CMAKE_CXX_STANDARD?
Best Regards
Roman
> Am 24.11.2016 um 19:08 schrieb Roman Wüger :
>
> Hello,
>
> If I use a small piece of code
Hello,
If I use a small piece of code which uses , then it fails with
check_cxx_source_compiles. If I copy the piece of code into a file and run
the following on the command line, then it works:
clang++ main.cpp -std=c++14 -stdlib=libc++
Here is the piece of code:
#include