diff --git a/samples/client/petstore/cpp-restsdk/client/pom.xml b/samples/client/petstore/cpp-restsdk/client/pom.xml
index 6b5c8966f4a9..b9113db04229 100644
--- a/samples/client/petstore/cpp-restsdk/client/pom.xml
+++ b/samples/client/petstore/cpp-restsdk/client/pom.xml
@@ -35,10 +35,11 @@
cmake
- -S=.
+ -S=${project.basedir}
-B=${project.build.directory}
-DCMAKE_CXX_FLAGS="-I/usr/local/opt/openssl/include"
-DCMAKE_MODULE_LINKER_FLAGS="-L/usr/local/opt/openssl/lib"
+ -DCMAKE_BUILD_TYPE=Debug
@@ -53,6 +54,7 @@
--build
${project.build.directory}
+ --config=Debug
--parallel