mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-11 22:20:05 +08:00
cmake: export UCHARDET_LIBRARY to the topmost scope
This commit is contained in:
parent
e7feb35627
commit
7201835c98
@ -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 ()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user