Mercurial > hg > orthanc-dicomweb
changeset 11:177d23fbeffa
FreeBSD
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 07 Apr 2015 16:46:00 +0200 |
parents | adeb17b58431 |
children | db07057d77ad |
files | Resources/CMake/JsonCppConfiguration.cmake |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/CMake/JsonCppConfiguration.cmake Tue Apr 07 16:11:00 2015 +0200 +++ b/Resources/CMake/JsonCppConfiguration.cmake Tue Apr 07 16:46:00 2015 +0200 @@ -41,7 +41,13 @@ message(FATAL_ERROR "Please install the libjsoncpp-dev package") endif() - include_directories(/usr/include/jsoncpp) + find_path(JSONCPP_INCLUDE_DIR json/reader.h + /usr/include/jsoncpp + /usr/local/include/jsoncpp + ) + + message("JsonCpp include dir: ${JSONCPP_INCLUDE_DIR}") + include_directories(${JSONCPP_INCLUDE_DIR}) link_libraries(jsoncpp) endif()