(cmake) Stop using FetchContent cmake module to retrieve jsoncpp third party dependency

This commit is contained in:
Benjamin Sergeant committed 2020-09-30 14:24:04 -07:00
1 parent 61dbcc2b84
commit 82e759732b
11 files changed
+8023 -14

No files matched your search

+7 -2
View File
@@ -16,10 +16,15 @@ add_library(ixsentry STATIC
${IXSENTRY_HEADERS}
)
find_package(JsonCpp)
if (NOT JSONCPP_FOUND)
set(JSONCPP_INCLUDE_DIRS ../third_party/jsoncpp)
endif()
set(IXSENTRY_INCLUDE_DIRS
.
..
../ixcore)
../ixcore
${JSONCPP_INCLUDE_DIRS})
target_include_directories( ixsentry PUBLIC ${IXSENTRY_INCLUDE_DIRS} )
target_link_libraries( ixsentry jsoncpp_static )