diff options
author | Ghostkeeper <rubend@tutanota.com> | 2019-07-19 10:10:30 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2019-07-19 10:10:30 +0300 |
commit | a009f454d70571cff0ed5326212a80de08aa3f2c (patch) | |
tree | 135bb9af8522772a8e65095bedeb0df22334c2f8 /cmake | |
parent | cd3fa7419b027426630cdc03ca97ee80a529be09 (diff) |
Fix finding Stb when installed to program files
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindStb.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindStb.cmake b/cmake/FindStb.cmake index 742424038..35f55a90b 100644 --- a/cmake/FindStb.cmake +++ b/cmake/FindStb.cmake @@ -15,7 +15,7 @@ pkg_check_modules(PC_Stb QUIET Stb) find_path(Stb_INCLUDE_DIRS stb/stb_image_resize.h #Search for something that is a little less prone to false positives than just stb.h. HINTS ${PC_Stb_INCLUDEDIR} ${PC_Stb_INCLUDE_DIRS} - PATHS "$ENV{PROGRAMFILES}/stb" "$ENV{PROGRAMW6432}/stb" "/usr/include" + PATHS "$ENV{PROGRAMFILES}" "$ENV{PROGRAMW6432}" "/usr/include" PATH_SUFFIXES include/stb stb include ) |