aboutsummaryrefslogtreecommitdiff
path: root/ports/imgui-sfml/004-fix-find-sfml.patch
blob: 51cc0634b50c41d348b1c27f6a421ac56b629a11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4d7a3fa..614564f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,9 +32,6 @@ set(IMGUI_SFML_CONFIG_INSTALL_DIR "" CACHE PATH "Path where user's config header
 list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
 
 if (IMGUI_SFML_FIND_SFML)
-	if (NOT BUILD_SHARED_LIBS)
-		set(SFML_STATIC_LIBRARIES ON)
-	endif()
 	find_package(SFML COMPONENTS graphics system window)
 
 	if(NOT SFML_FOUND)