Open RadoBuransky opened 5 months ago
https://github.com/libsndfile/libsndfile/blob/c81375f070f3c6764969a738eacded64f53a076e/cmake/CMakeAutoGen.cmake#L4
CMAKE_MODULE_PATH is a list of directories, not a single path.(https://cmake.org/cmake/help/latest/variable/CMAKE_MODULE_PATH.html). This leads to error like this: CMake Error: Not a file: .../cmake/modules;.../libsndfile/cmake/CMakeAutoGenScript.cmake
CMAKE_MODULE_PATH
CMake Error: Not a file: .../cmake/modules;.../libsndfile/cmake/CMakeAutoGenScript.cmake
Hi @RadoBuransky . Yes, it is bug.
https://github.com/libsndfile/libsndfile/blob/c81375f070f3c6764969a738eacded64f53a076e/cmake/CMakeAutoGen.cmake#L4
CMAKE_MODULE_PATH
is a list of directories, not a single path.(https://cmake.org/cmake/help/latest/variable/CMAKE_MODULE_PATH.html). This leads to error like this:CMake Error: Not a file: .../cmake/modules;.../libsndfile/cmake/CMakeAutoGenScript.cmake