Skip to content

Commit

Permalink
[cpprest-sdk] use absolute source path for cmake + debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Apr 25, 2024
1 parent 41dbcc7 commit 54c869a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion samples/client/petstore/cpp-restsdk/client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@
<configuration>
<executable>cmake</executable>
<arguments>
<argument>-S=.</argument>
<argument>-S=${project.basedir}</argument>
<argument>-B=${project.build.directory}</argument>
<argument>-DCMAKE_CXX_FLAGS="-I/usr/local/opt/openssl/include"</argument>
<argument>-DCMAKE_MODULE_LINKER_FLAGS="-L/usr/local/opt/openssl/lib"</argument>
<argument>-DCMAKE_BUILD_TYPE=Debug</argument>
</arguments>
</configuration>
</execution>
Expand All @@ -53,6 +54,7 @@
<arguments>
<argument>--build</argument>
<argument>${project.build.directory}</argument>
<argument>--config=Debug</argument>
<argument>--parallel</argument>
</arguments>
</configuration>
Expand Down

0 comments on commit 54c869a

Please sign in to comment.