diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ca0212..8c14d24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,8 +18,6 @@ if (subproject) return() endif() -add_subdirectory(docs) - option(BUILD_TESTING "Build the testing tree." ON) if (BUILD_TESTING) enable_testing() diff --git a/src/nuspell/CMakeLists.txt b/src/nuspell/CMakeLists.txt index 22894f6..d58ad43 100644 --- a/src/nuspell/CMakeLists.txt +++ b/src/nuspell/CMakeLists.txt @@ -23,13 +23,6 @@ target_include_directories(nuspell target_link_libraries(nuspell PUBLIC Boost::boost ICU::uc ICU::data) -add_executable(nuspell-bin main.cxx) -set_target_properties(nuspell-bin PROPERTIES - OUTPUT_NAME nuspell) -target_compile_definitions(nuspell-bin PRIVATE - PROJECT_VERSION=\"${PROJECT_VERSION}\") -target_link_libraries(nuspell-bin nuspell Boost::locale) - if (NOT subproject) install(TARGETS nuspell EXPORT NuspellTargets @@ -40,5 +33,4 @@ if (NOT subproject) install(EXPORT NuspellTargets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/nuspell NAMESPACE Nuspell::) - install(TARGETS nuspell-bin DESTINATION ${CMAKE_INSTALL_BINDIR}) endif()