Skip to content

Commit

Permalink
Allow ignoring macos package manager
Browse files Browse the repository at this point in the history
Allow building without either homebrew or macports. This allows building in other environments, for example nixpkgs.
  • Loading branch information
viraptor authored Oct 15, 2024
1 parent 4cc5d87 commit d47a2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ENDIF()

#shamelessly borrowed from FreeCAD project: https://github.com/FreeCAD/FreeCAD/blob/master/cMake/FreeCAD_Helpers/SetupPython.cmake
# For building on OS X
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND NOT DEFINED IGNORE_PACKAGE_MANAGER)

# If the user doesn't tell us which package manager they're using
if(NOT DEFINED MACPORTS_PREFIX AND NOT DEFINED HOMEBREW_PREFIX)
Expand Down

0 comments on commit d47a2c6

Please sign in to comment.