Encountering a weird linking error while trying to build pika, as shown below.
The internet said that it may caused by different components compiling by C++ versions not compatible. But we already specify the CXX standard and flags in CMakeLists.txt, and dependency libraries should inherit it. To overcome it, I have to explicitly pass those while adding external projects like this:
Please provide a link to a minimal reproduction of the bug
git switch v3.5.4-rc1 --detach
./build.sh
Screenshots or videos
No response
Please provide the version you discovered this bug in (check about page for version information)
Is this a regression?
Yes
Description
Encountering a weird linking error while trying to build pika, as shown below.
The internet said that it may caused by different components compiling by C++ versions not compatible. But we already specify the CXX standard and flags in
CMakeLists.txt
, and dependency libraries should inherit it. To overcome it, I have to explicitly pass those while adding external projects like this:Please provide a link to a minimal reproduction of the bug
git switch v3.5.4-rc1 --detach ./build.sh
Screenshots or videos
No response
Please provide the version you discovered this bug in (check about page for version information)
Anything else?
No response