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
commit84c834c00023bbb581b9747e17039fd38facdda1 (patch)
treea336659043e5d05aad88c67946a791d8e21fbb8d /CMakeLists.txt
parentf42f5f69c8ab7bad09eb2d9a8d5631e1872c41d3 (diff)
downloadrts-84c834c00023bbb581b9747e17039fd38facdda1.tar.gz
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})