Skip to content

Commit

Permalink
CMakeLists.txt: add included directories for Darwin
Browse files Browse the repository at this point in the history
Signed-off-by: cristina-suteu <[email protected]>
  • Loading branch information
cristina-suteu committed Mar 29, 2024
1 parent 39879ab commit 84e5039
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
link_libraries("-F/Library/Frameworks/")
# Fix linking on 10.14+ with Homebrew. See https://stackoverflow.com/questions/54068035
LINK_DIRECTORIES(/usr/local/lib)
INCLUDE_DIRECTORIES(/usr/local/include)
endif()

add_definitions(-D_GNU_SOURCE
Expand Down

0 comments on commit 84e5039

Please sign in to comment.