Call CMake with explicit dependencies