mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 05:39:40 +08:00
38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index a498118..161f0f3 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -18,8 +18,6 @@ if (subproject)
|
|
return()
|
|
endif()
|
|
|
|
-add_subdirectory(docs)
|
|
-
|
|
function(find_catch2_from_source)
|
|
set(Catch2_FOUND Catch2-NOTFOUND PARENT_SCOPE)
|
|
set(catch_cmake_lists ${PROJECT_SOURCE_DIR}/external/Catch2/CMakeLists.txt)
|
|
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()
|