aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-02-20 14:25:56 +0100
committerMateja <mail@matejamaric.com>2021-02-20 14:25:56 +0100
commit45cf33be84c9227ef4a9648e4acd243fb68f88b6 (patch)
tree649d161583c3c4dcd97208095cc3bb1177ce8615 /CMakeLists.txt
parent4a9c75233dc0faebf625011a52f7db354e7c1417 (diff)
downloaderender-45cf33be84c9227ef4a9648e4acd243fb68f88b6.tar.gz
erender-45cf33be84c9227ef4a9648e4acd243fb68f88b6.zip
Don't use shared libraries.
Fixes #5
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)