You may need to quote your path list here, e.g. cmake -DCMAKE_PREFIX_PATH="/home/Olumide/src/project/Release/install/lib/cmake;/home/Olumide/src/project/Release/cmake" .
CMAKE_PREFIX_PATH should contain package base directories as you would specify for CMAKE_INSTALL_PREFIX when installing a package. As your given paths do not contain any strings like Sofa or SofaFramework I guess you’re providing the wrong directories to CMAKE_PREFIX_PATH. See the CMake documentation of the search procedure how a <prefix> directory is searched for config files.
Did you built and installed SofaFramework? Or are you running your commands on a build directory?