diff options
author | Mateja <mail@matejamaric.com> | 2021-02-20 14:25:56 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-02-20 14:25:56 +0100 |
commit | 45cf33be84c9227ef4a9648e4acd243fb68f88b6 (patch) | |
tree | 649d161583c3c4dcd97208095cc3bb1177ce8615 /CMakeLists.txt | |
parent | 4a9c75233dc0faebf625011a52f7db354e7c1417 (diff) | |
download | erender-45cf33be84c9227ef4a9648e4acd243fb68f88b6.tar.gz erender-45cf33be84c9227ef4a9648e4acd243fb68f88b6.zip |
Don't use shared libraries.
Fixes #5
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
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) |