diff options
author | Choe Hwanjin <choe.hwanjin@gmail.com> | 2021-10-12 16:15:14 +0900 |
---|---|---|
committer | Choe Hwanjin <choe.hwanjin@gmail.com> | 2021-10-12 16:15:14 +0900 |
commit | 49cd5a2694ee70fcaac95fec8d4ad592047f9c07 (patch) | |
tree | 1e567bd36d82e25982cc2f52824a050c9907b710 /po/CMakeLists.txt | |
parent | dab127b85d1b4c88a1a729b1cd6f9000ab25eb77 (diff) | |
download | libhangul-49cd5a2694ee70fcaac95fec8d4ad592047f9c07.tar.gz |
cmake: Add BUILD_SHARED_LIBS option
사용자가 Shared와 Static 빌드를 선택할 수 있게
BUILD_SHARED_LIBS 옵션을 추가한다.
ENABLE_EXTERNAL_KEYBOARDS 옵션이 ON 일때에만
expat을 찾아도 되므로 조건 처리한다.
추가로 find_package()를 사용한다. 패키지를 찾을 때에는
include()보다 나을 것 같다.
Diffstat (limited to 'po/CMakeLists.txt')
-rw-r--r-- | po/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 82e26d4..ffa968b 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -17,7 +17,7 @@ cmake_minimum_required(VERSION 3.0) -include(FindGettext) +find_package(Gettext) include(GNUInstallDirs) file(READ LINGUAS LINGUAS) |