diff --git a/rocblas.spec b/rocblas.spec
index 00a579bed71574b4b3147d8c491c1497451df371..3dce34736e1c86d5544fec5bbdb5880588886de4 100644
--- a/rocblas.spec
+++ b/rocblas.spec
@@ -146,7 +146,7 @@ do
     module load rocm/$gpu
     mkdir %{_target_platform}
     pushd %{_target_platform}
-    %cmake -G Ninja \
+    %cmake .. -G Ninja \
            -DCMAKE_BUILD_TYPE=%build_type \
 	   -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF \
 	   -DROCM_SYMLINK_LIBS=OFF \