Skip to content

Commit

Permalink
Don't default to building static libenet
Browse files Browse the repository at this point in the history
Use -DBUILD_SHARED_LIBS=(ON|OFF) to control whether to build shared-only
(ON) or static-only (OFF) libraries.
  • Loading branch information
h3xx committed Dec 4, 2023
1 parent 223e6d7 commit 853742e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ set(SOURCE_FILES
source_group(include FILES ${INCLUDE_FILES})
source_group(source FILES ${SOURCE_FILES})

add_library(enet STATIC
add_library(enet
${INCLUDE_FILES}
${SOURCE_FILES}
)
Expand Down

0 comments on commit 853742e

Please sign in to comment.