diff options
Diffstat (limited to 'vendor/CMakeLists.txt')
| -rw-r--r-- | vendor/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vendor/CMakeLists.txt b/vendor/CMakeLists.txt index 09d8e2b..08ca771 100644 --- a/vendor/CMakeLists.txt +++ b/vendor/CMakeLists.txt @@ -34,12 +34,13 @@ ExternalProject_Add(cjson PREFIX cjson BUILD_IN_SOURCE 1) ExternalProject_Get_Property(cjson INSTALL_DIR) -file(MAKE_DIRECTORY ${VENDOR_BUILD}/include/cjson) +message(STATUS "cjson will be installed in: ${INSTALL_DIR}") +file(MAKE_DIRECTORY ${INSTALL_DIR}/include/) add_library(cjson-static STATIC IMPORTED GLOBAL) add_dependencies(cjson-static cjson) set_property(TARGET cjson-static PROPERTY IMPORTED_LOCATION ${CMAKE_BINARY_DIR}/vendor/cjson/src/cjson/libcjson.a) -set_property(TARGET cjson-static PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${VENDOR_BUILD}/include/cjson) +set_property(TARGET cjson-static PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${INSTALL_DIR}/include/) #llhttp-9.1.3 ExternalProject_Add(llhttp PREFIX llhttp |
