1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/www/cpr/files/patch-include-CMakeLists.txt
2023-10-16 23:59:42 +08:00

13 lines
570 B
Plaintext

--- include/CMakeLists.txt.orig 2023-10-14 12:45:47 UTC
+++ include/CMakeLists.txt
@@ -60,9 +60,5 @@ if(CPR_USE_BOOST_FILESYSTEM)
endif()
endif()
-if (((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.1) OR (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT WIN32)) AND NOT CPR_USE_BOOST_FILESYSTEM)
- target_link_libraries(cpr PUBLIC stdc++fs)
-endif()
-
install(DIRECTORY cpr DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(DIRECTORY ${PROJECT_BINARY_DIR}/cpr_generated_includes/cpr DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})