Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] CMakeLists.txt fixes for sqlite on Windows (#2274)
Fixes: #2271 Context: 673757d Context: https://cmake.org/cmake/help/v3.3/command/file.html `cmake` mandates a uniform way of presenting filesystem paths across all the operating systems it supports - it requires that path segments are separated with the `/` character. In 673757d, we faced a similar problem, but used a string replace as a fix: string(REPLACE "\\" "/" MY_PATH ${MY_PATH}) There is a proper, more "portable" way to do this, such as: file(TO_CMAKE_PATH "${MY_PATH}" MY_PATH) Using this for `SQLITE_XAMARIN_SOURCES` fixes the sqlite build on Windows.
- Loading branch information