Hi list,

In my project's CMake configuration I set CMAKE_CXX_STANDARD to 17. In 
my HPX's CMake configuration I set HPX_WITH_CXX17 to ON. This has been 
working fine (HPX 1.4.1). I would like to try the commit mentioned in 
this PR: https://github.com/STEllAR-GROUP/hpx/pull/4311, which has 
recently been rebased on the master branch. I now get a CMake project 
configuration error (RelWithDebInfo):

You've set CMAKE_CXX_STANDARD manually, which is not recommended.  If you
really want to set CMAKE_CXX_STANDARD, set HPX_USE_CMAKE_CXX_STANDARD=ON.

Setting HPX_USE_CMAKE_CXX_STANDARD=ON results in this error:

Target "cmTC_a0740" requires the language dialect "CXXCMAKE_CXX_STANDARD" ,
but CMake does not know the compile flags to use to enable it.

Not setting CMAKE_CXX_STANDARD in my project's CMake configuration 
results in std::filesystem and std::optional not being found anymore.

My question is how to get my project and HPX building again. I want to 
use C++17, with gcc-7, on Linux.

Thanks,
Kor
_______________________________________________
hpx-users mailing list
[email protected]
https://mail.cct.lsu.edu/mailman/listinfo/hpx-users

Reply via email to