vcpkg/ports/concurrencpp/fix-include-path.patch
gotnone a293ce5897
Fix [concurrencpp] build failure (#32035) (#32037)
Co-authored-by: Stanley Pinchak <stanley.pinchak@gmail.com>
2023-06-28 11:14:43 -07:00

21 lines
750 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -117,7 +117,7 @@ include(CMakePackageConfigHelpers)
include(GNUInstallDirs)
set(concurrencpp_directory "concurrencpp-${PROJECT_VERSION}")
-set(concurrencpp_include_directory "${CMAKE_INSTALL_INCLUDEDIR}/${concurrencpp_directory}")
+set(concurrencpp_include_directory "${CMAKE_INSTALL_INCLUDEDIR}")
install(
TARGETS concurrencpp
@@ -126,7 +126,6 @@ install(
COMPONENT concurrencpp_Development
INCLUDES
DESTINATION "${concurrencpp_include_directory}"
- COMPONENT concurrencpp_Development
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
COMPONENT concurrencpp_Runtime
NAMELINK_COMPONENT concurrencpp_Development