From eeefcfc6102a2dedcbb4fa9fe1dc50883a85a69e Mon Sep 17 00:00:00 2001 From: WhiredPlanck Date: Sun, 29 Oct 2023 21:32:33 +0800 Subject: [PATCH] build: drop deprecated BUILD_DATA option --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b44d0e3f60..def83db676 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,6 @@ include(GNUInstallDirs) option(BUILD_SHARED_LIBS "Build Rime as shared library" ON) option(BUILD_MERGED_PLUGINS "Merge plugins into one Rime library" ON) option(WITH_STATIC_DEPS "Build with static dependency libraries" OFF) -option(BUILD_DATA "Build data for Rime" OFF) option(BUILD_SAMPLE "Build sample Rime plugin" OFF) option(BUILD_TEST "Build and run tests" ON) option(BUILD_SEPARATE_LIBS "Build separate rime-* libraries" OFF) @@ -180,11 +179,6 @@ if(INSTALL_PRIVATE_HEADERS) endforeach() endif() -if(BUILD_DATA) - file(GLOB rime_preset_data_files ${PROJECT_SOURCE_DIR}/data/preset/*.yaml) - install(FILES ${rime_preset_data_files} DESTINATION ${RIME_DATA_DIR}) -endif() - if(BUILD_SHARED_LIBS) add_definitions(-DRIME_BUILD_SHARED_LIBS) set(rime_library rime)