diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-01-23 21:07:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-23 21:07:03 +0000 |
commit | b28bfd6f208bc04b4157130eabfcf61b1825570d (patch) | |
tree | 7c2f770d7cda4d48571c8df69dc7460f1aa7bea0 /CMakeLists.txt | |
parent | 547124c94f8808d6dca407af7b6eb0d29ac12e45 (diff) | |
download | abaddon-portaudio-b28bfd6f208bc04b4157130eabfcf61b1825570d.tar.gz abaddon-portaudio-b28bfd6f208bc04b4157130eabfcf61b1825570d.zip |
remove cpr as a dependency (#21)
abstract away library usage
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 80e617e..1e9095a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,6 @@ set(USE_OPEN_SSL TRUE) find_package(nlohmann_json REQUIRED) find_package(CURL) -find_package(cpr REQUIRED) find_package(ZLIB REQUIRED) find_package(SQLite3 REQUIRED) find_package(gtkmm REQUIRED) @@ -51,9 +50,9 @@ file(GLOB ABADDON_SOURCES add_executable(abaddon ${ABADDON_SOURCES}) target_include_directories(abaddon PUBLIC ${GTKMM_INCLUDE_DIRS}) -target_include_directories(abaddon PUBLIC ${CPR_INCLUDE_DIRS}) target_include_directories(abaddon PUBLIC ${ZLIB_INCLUDE_DIRS}) target_include_directories(abaddon PUBLIC ${SQLite3_INCLUDE_DIRS}) +target_include_directories(abaddon PUBLIC ${NLOHMANN_JSON_INCLUDE_DIRS}) if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND @@ -87,6 +86,5 @@ endif() target_link_libraries(abaddon ${SQLite3_LIBRARIES}) target_link_libraries(abaddon ${GTKMM_LIBRARIES}) target_link_libraries(abaddon ${CURL_LIBRARIES}) -target_link_libraries(abaddon ${CPR_LIBRARY}) target_link_libraries(abaddon ${ZLIB_LIBRARY}) target_link_libraries(abaddon ${NLOHMANN_JSON_LIBRARIES}) |