Skip to content

Commit

Permalink
Latest changes
Browse files Browse the repository at this point in the history
- Fix CMakeLists.txt: BoringSSL include and lib was mixed up
  • Loading branch information
Dmitri Tikhonov committed Sep 27, 2017
1 parent e019799 commit cdf7091
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2017-09-27

- Fix CMakeLists.txt: BoringSSL include and lib was mixed up

2017-09-26

- Add support for Mac OS
Expand Down
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,15 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${MY_CMAKE_FLAGS} $ENV{EXTRA_CFLAGS}")
MESSAGE(STATUS "Compiler flags: ${CMAKE_C_FLAGS}")

IF(NOT DEFINED BORINGSSL_INCLUDE)
include_directories( /usr/local/lib )
SET(BORINGSSL_INCLUDE /usr/local/include)
ENDIF()
IF(NOT DEFINED BORINGSSL_LIB)
link_directories( /usr/local/include )
SET(BORINGSSL_LIB /usr/local/lib)
ENDIF()

include_directories( ${BORINGSSL_INCLUDE} )
link_directories( ${BORINGSSL_LIB} )

SET(CMAKE_INCLUDE_CURRENT_DIR ON)
include_directories( include )

Expand Down

0 comments on commit cdf7091

Please sign in to comment.