diff options
author | louiz’ <louiz@louiz.org> | 2017-03-12 16:51:19 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-03-12 16:51:19 +0100 |
commit | a6f6e36594979a83ad16b3c4de350ed95e79daf3 (patch) | |
tree | 3c54529585011ebd3696c5fa7f60be541f96bcac /louloulibs/cmake/Modules/FindLIBIDN.cmake | |
parent | 4d42dddf465f22af795456056b64863e19f16e8e (diff) | |
download | biboumi-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/FindLIBIDN.cmake')
-rw-r--r-- | louloulibs/cmake/Modules/FindLIBIDN.cmake | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/louloulibs/cmake/Modules/FindLIBIDN.cmake b/louloulibs/cmake/Modules/FindLIBIDN.cmake index 611a6a8..716714f 100644 --- a/louloulibs/cmake/Modules/FindLIBIDN.cmake +++ b/louloulibs/cmake/Modules/FindLIBIDN.cmake @@ -33,9 +33,10 @@ if(NOT LIBIDN_FOUND) # Compatibility for all the ways of writing these variables if(LIBIDN_FOUND) - set(LIBIDN_INCLUDE_DIR ${LIBIDN_INCLUDE_DIRS}) - set(LIBIDN_LIBRARY ${LIBIDN_LIBRARIES}) + set(LIBIDN_INCLUDE_DIR ${LIBIDN_INCLUDE_DIRS} PARENT_SCOPE) + set(LIBIDN_LIBRARY ${LIBIDN_LIBRARIES} PARENT_SCOPE) + set(LIBIDN_FOUND ${LIBIDN_FOUND} PARENT_SCOPE) endif() endif() -mark_as_advanced(LIBIDN_INCLUDE_DIRS LIBIDN_LIBRARIES)
\ No newline at end of file +mark_as_advanced(LIBIDN_INCLUDE_DIRS LIBIDN_LIBRARIES) |