Closed Aziz891 closed 2 years ago
Hi,
It looks like C++17 is not enabled properly.
What is the version of your cmake installation? CMAKE_CXX_STANDARD
is introduced in 3.1 but your CMakeLists requires 3.0.
3.10 or newer is recommended for KFR.
Works like a charm now! I also had to add this line set_property(TARGET demo PROPERTY CXX_STANDARD 17)
for the -std=gnu++17
flag to appear in the compile command.
Thanks a lot.
i get the following error when linking the dft.cpp example
and this my CMakeLists.txt file
any help would be highly appreciated