Skip to content

Commit

Permalink
Revert "Links mdns as library" - support older CMake
Browse files Browse the repository at this point in the history
This reverts commit 5b5c129.
  • Loading branch information
mariotaku committed Jan 15, 2021
1 parent c91a555 commit d0d0589
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ elseif (TARGET_DESKTOP)
endif()

add_subdirectory(core/moonlight-common-c)
add_subdirectory(third_party/mdns)

set(SOURCES
app/main.c
Expand Down Expand Up @@ -112,6 +111,7 @@ target_compile_definitions(moonlight PUBLIC "$<$<CONFIG:DEBUG>: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)

Expand All @@ -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)
Expand Down

0 comments on commit d0d0589

Please sign in to comment.