2020-05-16 05:11:26 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2021-10-27 14:43:45 +08:00
|
|
|
index 8a1c6cd..7156f51 100644
|
2020-05-16 05:11:26 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2021-10-27 14:43:45 +08:00
|
|
|
@@ -38,9 +38,6 @@ set(IMGUI_SFML_CONFIG_INSTALL_DIR "" CACHE PATH "Path where user's config header
|
2020-05-16 05:11:26 +08:00
|
|
|
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)
|