Building examples on linux
Examples are not build under Linux unless
-DINSTALL_EXAMPLES=ON is also set when configuring.
I would expect them to be build with that:
cmake -S . -B build -DBUILD_EXAMPLES=ON or even
cmake -S . -B build (since
BUILD_EXAMPLES is on by default).
They are only build when using
cmake -S . -B build -DBUILD_EXAMPLES=ON -DINSTALL_EXAMPLES=ON
Reading CMakeLists.txt:488 ff I can see the issue and I assume there have been reasons to treat the windows build differently - but that's inconvenient and reasons are not clear/documented.