Skip to content

Commit

Permalink
Update sharpsat include paths for Intel macs
Browse files Browse the repository at this point in the history
  • Loading branch information
Apfelbeet committed Jan 4, 2024
1 parent 859fcc2 commit b67d856
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions lib/sharp_sat_ffi/sharp_sat/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ set(CMAKE_CXX_FLAGS_PROFILING "${CMAKE_CXX_FLAGS_PROFILING} -O3 -g -DNDEBUG -Wal

IF(UNIX)
IF(APPLE)
# include_directories(/opt/local/include)
include_directories(/usr/local/Cellar/gmp/6.3.0/include)
IF(CMAKE_APPLE_SILICON_PROCESSOR)
include_directories(/opt/homebrew/Cellar/gmp/6.3.0/include)
ELSE(CMAKE_APPLE_SILICON_PROCESSOR)
include_directories(/usr/local/include)
ENDIF(CMAKE_APPLE_SILICON_PROCESSOR)
ELSE(APPLE)



ENDIF(APPLE)
ELSE(UNIX)

Expand Down
2 changes: 1 addition & 1 deletion lib/sharp_sat_ffi/sharp_sat_wrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ IF(UNIX)
IF(CMAKE_APPLE_SILICON_PROCESSOR)
include_directories(/opt/homebrew/Cellar/gmp/6.3.0/include)
ELSE(CMAKE_APPLE_SILICON_PROCESSOR)
include_directories(/usr/local/Cellar/gmp/6.3.0/include)
include_directories(/usr/local/include)
ENDIF(CMAKE_APPLE_SILICON_PROCESSOR)
ELSE(APPLE)

Expand Down

0 comments on commit b67d856

Please sign in to comment.