mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 21:56:23 +00:00
10 lines
353 B
CMake
10 lines
353 B
CMake
# Locale GNU history library
|
|
|
|
find_path(HISTORY_INCLUDE_DIR readline/history.h)
|
|
|
|
find_library(HISTORY_LIBRARY history)
|
|
|
|
# handle the QUIETLY and REQUIRED arguments and set XXX_FOUND to TRUE if all listed variables are TRUE
|
|
INCLUDE(FindPackageHandleStandardArgs)
|
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(HISTORY DEFAULT_MSG HISTORY_LIBRARY HISTORY_INCLUDE_DIR)
|