aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7722d89..9ed7983 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,6 +39,9 @@ set(SFML_BUILD_GRAPHICS ON)
set(SFML_BUILD_WINDOW ON)
set(SFML_BUILD_NETWORK OFF)
+# Don't use shared libraries.
+set(BUILD_SHARED_LIBS OFF)
+
# Compile and add SFML to project
add_subdirectory(external/SFML)
target_link_libraries(${PROJECT_NAME} sfml-graphics sfml-window sfml-system)