Skip to content

Commit

Permalink
build: drop deprecated BUILD_DATA option
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck committed Oct 29, 2023
1 parent af4b7a3 commit eeefcfc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit eeefcfc

Please sign in to comment.