You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a work around (because my CMAKE_MODULE_PATH references several modules when I am compiling the theia libraries), I've opted to use the CMAKE_CURRENT_LIST_DIR in CMakeLists.txt under libraries/vlfeat/
e.g.
include("${CMAKE_CURRENT_LIST_DIR}/../../cmake/OptimizeTheiaCompilerFlags.cmake")
optimizetheiacompilerflags()
It isn't 'pretty', (../../ is gross) but it works provided the CMakeLists.txt path is in libraries/vlfeat and libraries is in the same directory as the theia cmake modules directory.
Again, this is not an issue directly when compiling theia by itself, but if incorporated in to another project with CMake, it can be an issue.
In commit ff18e07 the use of CMAKE_MODULE_PATH will cause the build to fail if there is more than one directory specified. See: https://cmake.org/cmake/help/v3.10/variable/CMAKE_MODULE_PATH.html
The text was updated successfully, but these errors were encountered: