~singpolyma/biboumi

e6569a1090be063f34624474f0d4578f37a169ae — Florent Le Coz 7 years ago 0ec82c1
Only use include_directory() if the directory path is defined
2 files changed, 13 insertions(+), 5 deletions(-)

M CMakeLists.txt
M louloulibs
M CMakeLists.txt => CMakeLists.txt +12 -4
@@ 74,10 74,18 @@ include_directories(${ICONV_INCLUDE_DIRS})
include_directories(${LIBUUID_INCLUDE_DIRS})

# If they are found in louloulibs CMakeLists.txt, we inherite these values
include_directories(${LIBIDN_INCLUDE_DIRS})
include_directories(${SYSTEMD_INCLUDE_DIRS})
include_directories(SYSTEM ${BOTAN_INCLUDE_DIRS})
include_directories(${CARES_INCLUDE_DIRS})
if(LIBIDN_FOUND)
  include_directories(${LIBIDN_INCLUDE_DIRS})
endif()
if(SYSTEMD_FOUND)
  include_directories(${SYSTEMD_INCLUDE_DIRS})
endif()
if(BOTAN_FOUND)
  include_directories(SYSTEM ${BOTAN_INCLUDE_DIRS})
endif()
if(CARES_FOUND)
  include_directories(${CARES_INCLUDE_DIRS})
endif()

#
## irclib

M louloulibs => louloulibs +1 -1
@@ 1,1 1,1 @@
Subproject commit b6af145bfb9561a1bb1ecb940f50163c5ce4dbbb
Subproject commit d6a3724c6a0127a49a9e7adb1090bb7438c8d0f2