• M
    Added rudimentary package configuration files. · 251e5a5e
    Markus Blatt 提交于
    These files will allow cmake based projects to find the
    library using find_package(cJSON). If successful, they can
    use CJSON_LIBRARIES and CJSON_INCLUDE_DIRS.
    
    Other build systems can use a similar approach to pkg-config:
    cmake --find-package -DNAME=cJSON -DCOMPILER_ID=GNU -DLANGUAGE=C  -DCMAKE_PREFIX_PATH=<path-to-non-sytem-installation-path> -DMODE=LINK
    
    or with MODE COMPILE or EXISTS.
    251e5a5e
CMakeLists.txt 3.3 KB