about summary refs log tree commit diff
path: root/pkgs/games/soldat-unstable/gamenetworkingsockets-no-external.patch
blob: 629ca6c67518a70318680ddb6dd43c562d804006 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1084048..1ea4c84 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -143,7 +143,8 @@ if(BUILD_CLIENT OR BUILD_SERVER)
     file(WRITE ${PROJECT_BINARY_DIR}/bin/steam_appid.txt "638490")
   else()
     # GameNetworkingSockets
-    add_subdirectory(shared/libs/GameNetworkingSockets)
+    # add_subdirectory(shared/libs/GameNetworkingSockets)
+    find_package(GameNetworkingSockets REQUIRED)
   endif()
 endif()