[uchardet: 21/29] cmake: export UCHARDET_LIBRARY to the topmost scope
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [uchardet: 21/29] cmake: export UCHARDET_LIBRARY to the topmost scope
- Date: Sun, 27 Mar 2016 18:38:12 +0000 (UTC)
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]