Latest changes

- Fix CMakeLists.txt: BoringSSL include and lib was mixed up
This commit is contained in:
Dmitri Tikhonov 2017-09-27 12:01:07 -04:00
parent e019799402
commit cdf709165d
2 changed files with 9 additions and 2 deletions

View file

@ -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

View file

@ -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 )