CMakeLists.txt to work as a submodule