summaryrefslogtreecommitdiffstats
path: root/cmake/Findlibuecc.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Findlibuecc.cmake')
-rw-r--r--cmake/Findlibuecc.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/Findlibuecc.cmake b/cmake/Findlibuecc.cmake
index b1852d6..8c2e1a8 100644
--- a/cmake/Findlibuecc.cmake
+++ b/cmake/Findlibuecc.cmake
@@ -14,7 +14,10 @@ endif(ANDROID)
pkg_check_modules(_LIBUECC libuecc>=6)
+find_path(LIBUECC_INCLUDE_DIR NAMES libuecc/ecc.h HINTS ${_LIBUECC_INCLUDE_DIRS} NO_CMAKE_FIND_ROOT_PATH)
find_path(LIBUECC_INCLUDE_DIR NAMES libuecc/ecc.h HINTS ${_LIBUECC_INCLUDE_DIRS})
+
+find_library(LIBUECC_LIBRARIES NAMES uecc HINTS ${_LIBUECC_LIBRARY_DIRS} NO_CMAKE_FIND_ROOT_PATH)
find_library(LIBUECC_LIBRARIES NAMES uecc HINTS ${_LIBUECC_LIBRARY_DIRS})
set(LIBUECC_CFLAGS_OTHER "${_LIBUECC_CFLAGS_OTHER}" CACHE STRING "Additional compiler flags for libuecc")