From d0d0589993e43fc58f427acde4cad76258ef4d6c Mon Sep 17 00:00:00 2001 From: Mariotaku Lee Date: Fri, 15 Jan 2021 23:57:07 +0900 Subject: [PATCH] Revert "Links mdns as library" - support older CMake This reverts commit 5b5c1295f659e3bb759d9f211c980e8d5e618d0f. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 75d4e307f..8d72d6cfe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -46,7 +46,6 @@ elseif (TARGET_DESKTOP) endif() add_subdirectory(core/moonlight-common-c) -add_subdirectory(third_party/mdns) set(SOURCES app/main.c @@ -112,6 +111,7 @@ target_compile_definitions(moonlight PUBLIC "$<$:DEBUG>") target_include_directories(moonlight PRIVATE ${CMAKE_SOURCE_DIR}/app) target_include_directories(moonlight PRIVATE ${CMAKE_SOURCE_DIR}/core/moonlight-embedded) target_include_directories(moonlight PRIVATE ${CMAKE_SOURCE_DIR}/third_party/Nuklear) +target_include_directories(moonlight PRIVATE ${CMAKE_SOURCE_DIR}/third_party/mdns) target_include_directories(moonlight SYSTEM PRIVATE ${CMAKE_SOURCE_DIR}/third_party/message_queue) target_include_directories(moonlight SYSTEM PRIVATE ${CMAKE_SOURCE_DIR}/third_party/incbin) @@ -120,7 +120,7 @@ target_include_directories(moonlight PRIVATE ${CMAKE_SOURCE_DIR}/utils/include) target_link_libraries(moonlight PRIVATE PkgConfig::cURL PkgConfig::UUID PkgConfig::Expat m pthread - moonlight-common-c mdns + moonlight-common-c ) if (TARGET_WEBOS)