From 440fd87cccf96f47d8e2938883491e07d6f9df4b Mon Sep 17 00:00:00 2001 From: illyum <90023277+itzilly@users.noreply.github.com> Date: Fri, 30 Aug 2024 11:50:01 -0600 Subject: [PATCH] chore(cmake): add enet header to projects --- engine/CMakeLists.txt | 1 + networking/CMakeLists.txt | 1 + server/CMakeLists.txt | 1 + 3 files changed, 3 insertions(+) diff --git a/engine/CMakeLists.txt b/engine/CMakeLists.txt index 4f008f0..96f5656 100644 --- a/engine/CMakeLists.txt +++ b/engine/CMakeLists.txt @@ -7,6 +7,7 @@ add_library(engine STATIC target_include_directories(engine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include ${raylib_SOURCE_DIR}/src + ${enet_SOURCE_DIR}/include ) target_include_directories(engine PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include) \ No newline at end of file diff --git a/networking/CMakeLists.txt b/networking/CMakeLists.txt index f8a0bfa..b829c3c 100644 --- a/networking/CMakeLists.txt +++ b/networking/CMakeLists.txt @@ -7,6 +7,7 @@ add_library(networking STATIC target_include_directories(networking PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include ${raylib_SOURCE_DIR}/src + ${enet_SOURCE_DIR}/include ) target_include_directories(networking PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include) diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt index 246b595..9d9f49f 100644 --- a/server/CMakeLists.txt +++ b/server/CMakeLists.txt @@ -8,6 +8,7 @@ target_include_directories(server PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../networking/include ${CMAKE_CURRENT_SOURCE_DIR}/../engine/include + ${enet_SOURCE_DIR}/include ) target_link_libraries(server networking engine raylib enet)