forked from bingmann/cobs
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from leoisl/boost_root
Refactoring BOOST search in CMake
- Loading branch information
Showing
2 changed files
with
6 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,13 +67,9 @@ jobs: | |
- name: Build and test | ||
run: | | ||
# set up some variables so that CMake can find boost | ||
export BOOST_INCLUDE_DIR="/usr/local/opt/[email protected]/include" | ||
export BOOST_LIBRARY_DIR="/usr/local/opt/[email protected]/lib" | ||
export CXXFLAGS="-DUSE_BOOST -I${BOOST_INCLUDE_DIR} -L${BOOST_LIBRARY_DIR}" | ||
export LDFLAGS="-L${BOOST_LIBRARY_DIR} -lboost_filesystem -lboost_system" | ||
export BOOST_ROOT="/usr/local/opt/[email protected]" | ||
mkdir build | ||
cd build | ||
cmake -DBOOST=1 -DNOOPENMP=1 -DSKIP_PYTHON=1 .. | ||
cmake -DNOOPENMP=1 -DSKIP_PYTHON=1 .. | ||
make | ||
make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters