Skip to content

Commit

Permalink
specify different include dirs for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
dromer committed Dec 4, 2024
1 parent a7cab77 commit a719e4d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,11 @@ link_directories(/usr/local/lib)
endif()

if(APPLE)
include_directories(/usr/local/include)
if(MACOS_LEGACY)
include_directories(/usr/local/include)
else()
include_directories(/opt/homebrew/include)
endif()
endif()

list(APPEND PLUGDATA_COMPILE_DEFINITIONS JUCE_MODAL_LOOPS_PERMITTED=1)
Expand Down

0 comments on commit a719e4d

Please sign in to comment.