Skip to content

Commit

Permalink
[trivial] Add a hint path so CPLEX is found on M2 Macs.
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianPommerening committed Jul 14, 2024
1 parent e18adec commit 7aae43f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search/cmake/FindCplex.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ target_link_libraries(cplex::cplex INTERFACE Threads::Threads)
if(${CMAKE_SIZEOF_VOID_P} EQUAL 4)
set(BITWIDTH_HINTS "x86")
elseif(${CMAKE_SIZEOF_VOID_P} EQUAL 8)
set(BITWIDTH_HINTS "x86-64" "x64")
set(BITWIDTH_HINTS "x86-64" "x64" "arm64")
endif()

if(APPLE)
Expand Down

0 comments on commit 7aae43f

Please sign in to comment.