I’ve aso tested it with 3.29.0-rc2
and it worked, thanks!
On OSX too:
bash-5.2$ /Applications/CMake.app/Contents/bin/cmake --version
cmake version 3.29.0-rc2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
bash-5.2$ time ninja
[7/7] Linking CXX executable /Users/clausklein/Workspace/cpp/cxx20/cmake-module-error/module-exe/bin/test_main
real 0m2.869s
user 0m2.543s
sys 0m0.309s
bash-5.2$ bash-5.2$ ctest
Test project /Users/clausklein/Workspace/cpp/cxx20/cmake-module-error/build/module-exe
Start 1: test_main
1/1 Test #1: test_main ........................ Passed 0.10 sec
100% tests passed, 0 tests failed out of 1
Total Test time (real) = 0.11 sec
bash-5.2$
3.28.4 will include the fix.
1 Like