[uchardet: 21/29] cmake: export UCHARDET_LIBRARY to the topmost scope



commit 7201835c98fb298ffaa3288fdd130d56ab148a4b
Author: Ilya Tumaykin <itumaykin gmail com>
Date:   Mon Mar 21 21:17:53 2016 +0300

    cmake: export UCHARDET_LIBRARY to the topmost scope

 src/CMakeLists.txt |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a19bded..627fc41 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -42,6 +42,8 @@ set(
 )
 
 set (UCHARDET_LIBRARY libuchardet)
+set (UCHARDET_LIBRARY libuchardet PARENT_SCOPE)
+
 if (BUILD_STATIC AND BUILD_SHARED_LIBS)
        set (UCHARDET_STATIC_LIBRARY libuchardet_static)
 endif ()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]