diff options
Diffstat (limited to '')
| -rw-r--r-- | externals/CMakeLists.txt | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 347641c10..ec3c70779 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt | |||
| @@ -38,15 +38,6 @@ target_include_directories(lz4_static INTERFACE ./lz4/lib) | |||
| 38 | add_library(microprofile INTERFACE) | 38 | add_library(microprofile INTERFACE) |
| 39 | target_include_directories(microprofile INTERFACE ./microprofile) | 39 | target_include_directories(microprofile INTERFACE ./microprofile) |
| 40 | 40 | ||
| 41 | # Nihstro | ||
| 42 | add_library(nihstro-headers INTERFACE) | ||
| 43 | target_include_directories(nihstro-headers INTERFACE ./nihstro/include) | ||
| 44 | |||
| 45 | # SoundTouch | ||
| 46 | add_subdirectory(soundtouch) | ||
| 47 | # The SoundTouch target doesn't export the necessary include paths as properties by default | ||
| 48 | target_include_directories(SoundTouch INTERFACE ./soundtouch/include) | ||
| 49 | |||
| 50 | # Unicorn | 41 | # Unicorn |
| 51 | add_library(unicorn-headers INTERFACE) | 42 | add_library(unicorn-headers INTERFACE) |
| 52 | target_include_directories(unicorn-headers INTERFACE ./unicorn/include) | 43 | target_include_directories(unicorn-headers INTERFACE ./unicorn/include) |
| @@ -58,31 +49,3 @@ if (ARCHITECTURE_x86_64) | |||
| 58 | target_include_directories(xbyak INTERFACE ./xbyak/xbyak) | 49 | target_include_directories(xbyak INTERFACE ./xbyak/xbyak) |
| 59 | target_compile_definitions(xbyak INTERFACE XBYAK_NO_OP_NAMES) | 50 | target_compile_definitions(xbyak INTERFACE XBYAK_NO_OP_NAMES) |
| 60 | endif() | 51 | endif() |
| 61 | |||
| 62 | # ENet | ||
| 63 | add_subdirectory(enet) | ||
| 64 | target_include_directories(enet INTERFACE ./enet/include) | ||
| 65 | |||
| 66 | if (ENABLE_WEB_SERVICE) | ||
| 67 | # msys installed curl is configured to use openssl, but that isn't portable | ||
| 68 | # since it relies on having the bundled certs install in the home folder for SSL | ||
| 69 | # by default on mingw, download the precompiled curl thats linked against windows native ssl | ||
| 70 | if (MINGW AND CITRA_USE_BUNDLED_CURL) | ||
| 71 | download_bundled_external("curl/" "curl-7_55_1" CURL_PREFIX) | ||
| 72 | set(CURL_PREFIX "${CMAKE_BINARY_DIR}/externals/curl-7_55_1") | ||
| 73 | set(CURL_FOUND YES) | ||
| 74 | set(CURL_INCLUDE_DIR "${CURL_PREFIX}/include" CACHE PATH "Path to curl headers") | ||
| 75 | set(CURL_LIBRARY "${CURL_PREFIX}/lib/libcurldll.a" CACHE PATH "Path to curl library") | ||
| 76 | set(CURL_DLL_DIR "${CURL_PREFIX}/lib/" CACHE PATH "Path to curl.dll") | ||
| 77 | set(USE_SYSTEM_CURL ON CACHE BOOL "") | ||
| 78 | endif() | ||
| 79 | # CPR | ||
| 80 | set(BUILD_TESTING OFF CACHE BOOL "") | ||
| 81 | set(BUILD_CPR_TESTS OFF CACHE BOOL "") | ||
| 82 | add_subdirectory(cpr) | ||
| 83 | target_include_directories(cpr INTERFACE ./cpr/include) | ||
| 84 | |||
| 85 | # JSON | ||
| 86 | add_library(json-headers INTERFACE) | ||
| 87 | target_include_directories(json-headers INTERFACE ./json) | ||
| 88 | endif() | ||