mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
14 lines
441 B
CMake
14 lines
441 B
CMake
include(FindPackageHandleStandardArgs)
|
|
|
|
find_path(Humanize_INCLUDE_DIR humanize/format_string.hpp)
|
|
|
|
find_package_handle_standard_args(Humanize REQUIRED_VARS Humanize_INCLUDE_DIR)
|
|
|
|
if (Humanize_FOUND)
|
|
add_library(Humanize::Humanize INTERFACE IMPORTED)
|
|
set_target_properties(Humanize::Humanize PROPERTIES
|
|
INTERFACE_INCLUDE_DIRECTORIES "${Humanize_INCLUDE_DIR}"
|
|
)
|
|
endif ()
|
|
|
|
mark_as_advanced(Humanize_INCLUDE_DIR) |