summaryrefslogtreecommitdiff
path: root/louloulibs/cmake/Modules/FindLIBUUID.cmake
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-03-12 16:51:19 +0100
committerlouiz’ <louiz@louiz.org>2017-03-12 16:51:19 +0100
commita6f6e36594979a83ad16b3c4de350ed95e79daf3 (patch)
tree3c54529585011ebd3696c5fa7f60be541f96bcac /louloulibs/cmake/Modules/FindLIBUUID.cmake
parent4d42dddf465f22af795456056b64863e19f16e8e (diff)
downloadbiboumi-a6f6e36594979a83ad16b3c4de350ed95e79daf3.tar.gz
biboumi-a6f6e36594979a83ad16b3c4de350ed95e79daf3.tar.bz2
biboumi-a6f6e36594979a83ad16b3c4de350ed95e79daf3.tar.xz
biboumi-a6f6e36594979a83ad16b3c4de350ed95e79daf3.zip
cmake: Improve the usage of PARENT_SCOPE
Diffstat (limited to 'louloulibs/cmake/Modules/FindLIBUUID.cmake')
-rw-r--r--louloulibs/cmake/Modules/FindLIBUUID.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/louloulibs/cmake/Modules/FindLIBUUID.cmake b/louloulibs/cmake/Modules/FindLIBUUID.cmake
index f344249..9269978 100644
--- a/louloulibs/cmake/Modules/FindLIBUUID.cmake
+++ b/louloulibs/cmake/Modules/FindLIBUUID.cmake
@@ -33,8 +33,9 @@ if(NOT LIBUUID_FOUND)
# Compatibility for all the ways of writing these variables
if(LIBUUID_FOUND)
- set(LIBUUID_INCLUDE_DIR ${LIBUUID_INCLUDE_DIRS})
- set(LIBUUID_LIBRARY ${LIBUUID_LIBRARIES})
+ set(LIBUUID_INCLUDE_DIR ${LIBUUID_INCLUDE_DIRS} PARENT_SCOPE)
+ set(LIBUUID_LIBRARY ${LIBUUID_LIBRARIES} PARENT_SCOPE)
+ set(LIBUUID_FOUND ${LIBUUID_FOUND} PARENT_SCOPE)
endif()
endif()