vcpkg/ports/imgui-sfml/004-fix-find-sfml.patch
JonLiu1993 aa105d94e9
[imgui-sfml] update to v2.3 (#20926)
* [imgui-sfml] update to v2.3

* update version

* change patch format from CRLF to CF

* update version

* Finish suggested change

* update version
2021-10-26 23:43:45 -07:00

15 lines
461 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8a1c6cd..7156f51 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -38,9 +38,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)