Skip to content

Commit

Permalink
Merge pull request #1 from msoos/fix
Browse files Browse the repository at this point in the history
Fixing build, exporing build commands
  • Loading branch information
arijitsh authored Oct 25, 2024
2 parents 9b232c6 + e1c8e76 commit f4c2227
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ project(STP)

set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)

include(GenerateExportHeader)
include(GNUInstallDirs)
Expand Down
2 changes: 1 addition & 1 deletion scripts/deps/setup-minisat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cd "${dep_dir}"
git clone https://github.com/stp/minisat "${dep}"
cd "${dep}"
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH="${install_dir}" ..
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX:PATH="${install_dir}" ..
cmake --build . --parallel "$(nproc)"
cmake --install .
cd ..
Expand Down

0 comments on commit f4c2227

Please sign in to comment.