mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-09 22:36:40 +08:00
15 lines
409 B
Diff
15 lines
409 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index e821a49bc..c68264ef2 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -188,6 +188,9 @@ if(SFML_USE_SYSTEM_DEPS)
|
||
|
endforeach()
|
||
|
|
||
|
list(REMOVE_DUPLICATES CMAKE_IGNORE_PATH)
|
||
|
+
|
||
|
+ find_path(STB_INCLUDE_DIR stb.h)
|
||
|
+ include_directories(${STB_INCLUDE_DIR})
|
||
|
endif()
|
||
|
|
||
|
# Visual C++: remove warnings regarding SL security and algorithms on pointers
|