From 7c2fb9216e72302134115c1483d4c3d2b1edd3a1 Mon Sep 17 00:00:00 2001 From: Won-Kyu Park Date: Mon, 27 Feb 2023 00:30:55 +0900 Subject: cmake: check glob.h and add config.h.cmake.in --- hangul/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hangul/CMakeLists.txt') diff --git a/hangul/CMakeLists.txt b/hangul/CMakeLists.txt index 93f7fb4..14fde95 100644 --- a/hangul/CMakeLists.txt +++ b/hangul/CMakeLists.txt @@ -44,12 +44,17 @@ add_library(hangul ) target_compile_definitions(hangul + PRIVATE -DHAVE_CONFIG_H PRIVATE -DLOCALEDIR=\"${CMAKE_INSTALL_FULL_LOCALEDIR}\" PRIVATE -DLIBHANGUL_DEFAULT_HANJA_DIC=\"${CMAKE_INSTALL_FULL_DATADIR}/${CMAKE_PROJECT_NAME}/hanja/hanja.txt\" PRIVATE -DLIBHANGUL_DATA_DIR=\"${CMAKE_INSTALL_FULL_DATADIR}/${CMAKE_PROJECT_NAME}\" PRIVATE -DTOP_SRCDIR=\"${CMAKE_SOURCE_DIR}\" ) +target_include_directories(hangul + PRIVATE "${CMAKE_BINARY_DIR}" +) + if(ENABLE_EXTERNAL_KEYBOARDS) target_compile_definitions(hangul PRIVATE -DENABLE_EXTERNAL_KEYBOARDS=1 -- cgit v1.2.1