opae-sdk: fix cmake 3.11.4  build error
@@ -94,11 +94,13 @@ CMAKE_BUILD_DIR="${SDK_DIR}/_build"
rm -rf ${CMAKE_BUILD_DIR}
mkdir ${CMAKE_BUILD_DIR}
+cd ${CMAKE_BUILD_DIR}
+
if [ "${WHICH_RPM}" = 'rhel' ]; then
-cmake -S ${SDK_DIR} -B ${CMAKE_BUILD_DIR} \
+cmake ${SDK_DIR} \
-DOPAE_MINIMAL_BUILD=ON
else
-cmake -S ${SDK_DIR} -B ${CMAKE_BUILD_DIR} \
+cmake ${SDK_DIR} \
-DOPAE_PRESERVE_REPOS=ON \
-DOPAE_BUILD_PYTHON_DIST=ON \
-DOPAE_BUILD_FPGABIST=ON
