Skip to content

Commit

Permalink
Merge pull request #42 from stormcenter/master
Browse files Browse the repository at this point in the history
[BUGFIX] Fix libevent build error on Darwin
  • Loading branch information
litespeedtech authored Jul 17, 2018
2 parents ccd7416 + 083b593 commit 81a42a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ link_directories( ${BORINGSSL_LIB} )

SET(CMAKE_INCLUDE_CURRENT_DIR ON)
include_directories( include )

IF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
IF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
# Find libevent on FreeBSD:
include_directories( /usr/local/include )
link_directories( /usr/local/lib )
Expand Down

0 comments on commit 81a42a8

Please sign in to comment.