mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-08 01:36:41 +08:00
24 lines
286 B
CMake
24 lines
286 B
CMake
set(
|
|
UCHARDET_SOURCES
|
|
uchardet.cpp
|
|
)
|
|
|
|
set(UCHARDET_BINARY uchardet)
|
|
|
|
add_executable(
|
|
${UCHARDET_BINARY}
|
|
${UCHARDET_SOURCES}
|
|
)
|
|
|
|
target_link_libraries(
|
|
${UCHARDET_BINARY}
|
|
${UCHARDET_LIBRARY}
|
|
)
|
|
|
|
install(
|
|
TARGETS
|
|
${UCHARDET_BINARY}
|
|
RUNTIME DESTINATION
|
|
${CMAKE_INSTALL_BINDIR}
|
|
)
|