vcpkg/ports/yomm2/fix_install.patch

27 lines
918 B
Diff
Raw Normal View History

2021-05-27 01:33:43 +08:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c50fd44..f550c2e 100644
2021-05-27 01:33:43 +08:00
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,7 +15,7 @@
2021-05-27 01:33:43 +08:00
# Find Boost dependency
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
include(cmake/find_or_download_package.cmake)
2021-05-27 01:33:43 +08:00
-find_or_download_package(Boost INSTALL_WITH_YOMM)
+find_package(Boost REQUIRED)
message(STATUS "Using Boost libraries from ${Boost_INCLUDE_DIRS}")
if(NOT ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") AND (CMAKE_COMPILER_IS_GNUCXX OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang"))
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c50fd44..f550c2d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -73,7 +73,6 @@
COMMAND ${CMAKE_SOURCE_DIR}/dev/code2md "${readme_cpp}" "${readme_md}"
DEPENDS "${readme_cpp}")
endif()
2021-05-27 01:33:43 +08:00
-add_subdirectory(docs.in)
2021-05-27 01:33:43 +08:00
## Install instruction
# Create version file for cmake package