|
@ -13,6 +13,8 @@ set(SO_MAJOR 2) |
|
|
set(SO_MINOR 2) |
|
|
set(SO_MINOR 2) |
|
|
set(SO_PATCH 0) |
|
|
set(SO_PATCH 0) |
|
|
|
|
|
|
|
|
|
|
|
option(UTF8PROC_INSTALL "Enable installation of utf8proc" On) |
|
|
|
|
|
|
|
|
add_library (utf8proc |
|
|
add_library (utf8proc |
|
|
utf8proc.c |
|
|
utf8proc.c |
|
|
utf8proc.h |
|
|
utf8proc.h |
|
@ -46,6 +48,7 @@ set_target_properties (utf8proc PROPERTIES |
|
|
SOVERSION ${SO_MAJOR} |
|
|
SOVERSION ${SO_MAJOR} |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
if (UTF8PROC_INSTALL) |
|
|
install(TARGETS utf8proc |
|
|
install(TARGETS utf8proc |
|
|
RUNTIME DESTINATION bin |
|
|
RUNTIME DESTINATION bin |
|
|
LIBRARY DESTINATION lib |
|
|
LIBRARY DESTINATION lib |
|
@ -55,3 +58,4 @@ install( |
|
|
FILES |
|
|
FILES |
|
|
"${PROJECT_SOURCE_DIR}/utf8proc.h" |
|
|
"${PROJECT_SOURCE_DIR}/utf8proc.h" |
|
|
DESTINATION include) |
|
|
DESTINATION include) |
|
|
|
|
|
endif() |
|
|