I'm trying to build an openFrameworks application (which is a nightmare in itself) and CMake refuses to acknowledge the existence of another CMake file necessary to link all of openFrameworks libraries. This other CMake file is linked with an absolute path and it still cannot be found using
set( OF_DIRECTORY_BY_USER "/home/jp/openframeworks" )
include(${OF_DIRECTORY_BY_USER}/addons/ofxCMake/modules/main.cmake)
The file is most definitely in that path. I can see it in terminal and in the explorer.
The full error:
CMake Error at CMakeLists.txt:44 (include):
include could not find load file:
/home/jp/openframeworks/addons/ofxCMake/modules/main.cmake
-- Configuring incomplete, errors occurred!
The project's CMakeLists.txt resides in the main project directory but I don't think this should be a problem considering I'm not using relative paths.
So rather embarrassingly, I didn't realize that the actual directory was openFrameworks
not openframeworks
. This is what happens at 2:00 in the morning...