Use external instead of opm/json for suffixes to search for cjson of opm-parser.
This commit is contained in:
@@ -21,7 +21,7 @@ find_path (CJSON_INCLUDE_DIR
|
|||||||
NAMES "cjson/cJSON.h"
|
NAMES "cjson/cJSON.h"
|
||||||
HINTS "${CJSON_ROOT}"
|
HINTS "${CJSON_ROOT}"
|
||||||
PATHS "${PROJECT_SOURCE_DIR}" "${PROJECT_SOURCE_DIR}/../opm-parser"
|
PATHS "${PROJECT_SOURCE_DIR}" "${PROJECT_SOURCE_DIR}/../opm-parser"
|
||||||
PATH_SUFFIXES "include" "opm/json"
|
PATH_SUFFIXES "include" "external"
|
||||||
DOC "Path to cjson library header files"
|
DOC "Path to cjson library header files"
|
||||||
${_no_default_path} )
|
${_no_default_path} )
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user