mirror of https://github.com/Icinga/icinga2.git
Integrate UTF8-CPP into CMake
This commit is contained in:
parent
dd15f33c17
commit
85c0d2c2cc
|
@ -153,6 +153,10 @@ else()
|
|||
list(APPEND base_DEPS ${YAJL_LIBRARIES})
|
||||
endif()
|
||||
|
||||
# UTF8CPP
|
||||
find_package(UTF8CPP)
|
||||
include_directories(${UTF8CPP_INCLUDE})
|
||||
|
||||
find_package(Editline)
|
||||
set(HAVE_EDITLINE "${EDITLINE_FOUND}")
|
||||
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
FIND_PATH (UTF8CPP_INCLUDE utf8.h HINTS "${PROJECT_SOURCE_DIR}/third-party/utf8cpp/source")
|
||||
|
||||
if (UTF8CPP_INCLUDE)
|
||||
message(STATUS "Found UTF8CPP: ${UTF8CPP_INCLUDE}" )
|
||||
else ()
|
||||
message(FATAL_ERROR "Unable to include utf8.h")
|
||||
endif ()
|
Loading…
Reference in New Issue