Merge remote-tracking branch 'origin/topic/johanna/openssl-fixes'

* origin/topic/johanna/openssl-fixes:
  Change ordering of include directories.

BIT-1928 #merged
This commit is contained in:
Jon Siwek 2018-04-30 16:48:22 -05:00
commit 60e943322f
2 changed files with 7 additions and 2 deletions

View file

@ -114,7 +114,6 @@ endif ()
include_directories(BEFORE include_directories(BEFORE
${PCAP_INCLUDE_DIR} ${PCAP_INCLUDE_DIR}
${OPENSSL_INCLUDE_DIR}
${BIND_INCLUDE_DIR} ${BIND_INCLUDE_DIR}
${BinPAC_INCLUDE_DIR} ${BinPAC_INCLUDE_DIR}
${ZLIB_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR}
@ -164,6 +163,12 @@ if (ENABLE_PERFTOOLS_DEBUG OR ENABLE_PERFTOOLS)
# perftools weren't found # perftools weren't found
endif () endif ()
# Making sure any non-standard OpenSSL includes get searched earlier
# than other dependencies which tend to be in standard system locations
# and thus cause the system OpenSSL headers to still be picked up even
# if one specifies --with-openssl (which may be common).
include_directories(BEFORE ${OPENSSL_INCLUDE_DIR})
set(brodeps set(brodeps
${BinPAC_LIBRARY} ${BinPAC_LIBRARY}
${PCAP_LIBRARY} ${PCAP_LIBRARY}

2
cmake

@ -1 +1 @@
Subproject commit 70fc7406f4baa87da9362c2b80ee6bbcdb242e0a Subproject commit c8f07c6bf90b472fb54b2ecbe0497238f40dec8a