summaryrefslogtreecommitdiffstats
path: root/cmake/FindUcommon.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindUcommon.cmake')
-rw-r--r--cmake/FindUcommon.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindUcommon.cmake b/cmake/FindUcommon.cmake
index a61257b..75dd53c 100644
--- a/cmake/FindUcommon.cmake
+++ b/cmake/FindUcommon.cmake
@@ -5,7 +5,7 @@ FIND_LIBRARY(USECURE_LIBRARIES NAMES usecure)
IF(UCOMMON_INCLUDE_DIR AND UCOMMON_LIBRARIES AND USECURE_LIBRARIES)
SET(UCOMMON_FOUND TRUE)
SET(UCOMMON_LIBRARIES ${UCOMMON_LIBRARIES} ${USECURE_LIBRARIES})
-ENDIF(UCOMMON_INCLUDE_DIR AND UCOMMON_LIBRARIES)
+ENDIF(UCOMMON_INCLUDE_DIR AND UCOMMON_LIBRARIES AND USECURE_LIBRARIES)
IF(UCOMMON_FOUND)
IF (NOT Ucommon_FIND_QUIETLY)