-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[imgui-sfml] Force imgui-sfml to be a static library (#10840)
* [imgui-sfml] Force imgui-sfml as a static library * [imgui-sfml] Change the way to detect sfml
- Loading branch information
Showing
3 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Source: imgui-sfml | ||
Version: 2.1 | ||
Version: 2.1-1 | ||
Homepage: https:/eliasdaler/imgui-sfml | ||
Description: ImGui binding for use with SFML | ||
Build-Depends: sfml, imgui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters