Skip to content

Commit

Permalink
Fixed build on macos
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Barberio <insomniac@slackware.it>
  • Loading branch information
insomniacslk committed Aug 29, 2024
1 parent 68a3bef commit f9b1853
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ target_include_directories(dublintraceroute PUBLIC ${JSONCPP_INCLUDE_DIRS} ${TIN
if(APPLE)
# with macOS Mojave /usr/local/{include,lib} have to be specified explicitly
target_include_directories(dublintraceroute PUBLIC /usr/local/include)
target_link_libraries(dublintraceroute /usr/local/lib)
target_include_directories(dublintraceroute PUBLIC /opt/homebrew/include)
target_link_directories(dublintraceroute PUBLIC /usr/local/lib)
target_link_directories(dublintraceroute PUBLIC /opt/homebrew/lib)
endif(APPLE)

#set_property(TARGET dublintraceroute PROPERTY CXX_STANDARD 11)
Expand Down

0 comments on commit f9b1853

Please sign in to comment.