Windows build fails with "The network name cannot be found" error when built with encryption. That's because the std::fs::canocalize() function returns UNC paths on Windows, which confuses CMake to fail.
Switch to std::env::current_dir() instead, which returns paths that CMake can deal with.
Windows build fails with "The network name cannot be found" error when built with encryption. That's because the std::fs::canocalize() function returns UNC paths on Windows, which confuses CMake to fail.
Switch to std::env::current_dir() instead, which returns paths that CMake can deal with.