mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 13:25:08 +00:00

Libenet is a UDP networking library that is used by Love2D, a game framework I would like to port.
24 lines
613 B
Diff
24 lines
613 B
Diff
From f3a57c5b7971c073f2405d97bf48a93c9b12ba44 Mon Sep 17 00:00:00 2001
|
|
From: surrealegg <surrealegg@pm.me>
|
|
Date: Thu, 21 Sep 2023 16:35:39 +0400
|
|
Subject: [PATCH 1/3] Make library shared
|
|
|
|
---
|
|
CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index d3d4aa8..091cb5a 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -84,7 +84,7 @@ set(SOURCE_FILES
|
|
source_group(include FILES ${INCLUDE_FILES})
|
|
source_group(source FILES ${SOURCE_FILES})
|
|
|
|
-add_library(enet STATIC
|
|
+add_library(enet SHARED
|
|
${INCLUDE_FILES}
|
|
${SOURCE_FILES}
|
|
)
|
|
--
|
|
2.41.0
|