Skip to content

Commit

Permalink
Cmake fix (#89)
Browse files Browse the repository at this point in the history
* * Fix cmake process for gams

* * Fixing issues in base_build for cmake builds

* * Added cmake options for installing to /usr/local and properly config
the path

---------

Co-authored-by: Leo Georgescu <georgl97@icloud.com>
  • Loading branch information
jredmondson and leogeo13 authored Dec 16, 2023
1 parent 8e39522 commit cd1a894
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/linux/base_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1627,8 +1627,9 @@ if [ $MADARA -eq 1 ] || [ $MADARA_AS_A_PREREQ -eq 1 ]; then
echo "... build release libs"
cmake --build . --config release
echo "... installing to $MADARA_ROOT/install"
cmake --build . --target install --config release
cmake --build . --target install --config debug
sudo cmake --build . --target install --config release
sudo cmake --build . --target install --config debug
sudo ldconfig
MADARA_BUILD_RESULT=$?

else
Expand Down Expand Up @@ -1847,8 +1848,9 @@ if [ $GAMS -eq 1 ] || [ $GAMS_AS_A_PREREQ -eq 1 ]; then
echo "... build release libs"
cmake --build . --config release
echo "... installing to $GAMS_ROOT/install"
cmake --build . --target install --config release
cmake --build . --target install --config debug
sudo cmake --build . --target install --config release
sudo cmake --build . --target install --config debug
sudo ldconfig
GAMS_BUILD_RESULT=$?
else

Expand Down

0 comments on commit cd1a894

Please # to comment.