aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-09-20 16:53:48 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-09-20 17:34:21 +0200
commit635d950efddde7a60edba75f7b4d5e0028e4c99a (patch)
treeaee9fce5fc800f9c86b901a7f7eb11bb27076965 /CMakeLists.txt
parent42b976af1bb4dda02e590d604b2012cf5958c240 (diff)
Implement net component
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 13efa1c..c2a1339 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -35,6 +35,10 @@ if(SDL1_2_BUILD)
target_link_libraries(SDL::SDL_mixer INTERFACE SDL::SDL)
endif()
+if(NOT PS1_BUILD)
+ find_package(ENET 1.3 REQUIRED)
+endif()
+
set(cdroot ${CMAKE_BINARY_DIR}/cdimg)
file(MAKE_DIRECTORY ${cdroot})