mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 12:59:06 +08:00
c8021b4675
* [opencascade] fix #16252 by exporting includ directories with the targets and replacing internal includes from #include "..." to #include<...> post installation
* [opencascade] added port version
* [opencascade] update SHA of versions/o-/opencascade.json
* Update ports/opencascade/portfile.cmake
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* Update ports/opencascade/portfile.cmake
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* Update ports/opencascade/portfile.cmake
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* remove commented line for BUILD_INTERFACE
* updated version
* remove replacement of includes form #include <...> to #include "..."
* update port version
* added fix-install-prefix-path.patch, which was removed by #15997
* fix fix-install-prefix-path.patch
* update port version
* Update ports/opencascade/portfile.cmake
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
* update port version
* [opencascade]Revert "remove replacement of includes form #include <...> to #include "...""
also refined regex to allow white spaces between # and 'include'
This reverts commit 4b362739f5
.
* [opencascade] update port version
* [opencascade] change exported include directory from include/opencascade to include
* [opencascade] update port version
Co-authored-by: bloess <josua.bloess@uni-bayreuth.de>
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
32 lines
828 B
Diff
32 lines
828 B
Diff
From 32c4bdd88555309752215c53842d438cb51bcb62 Mon Sep 17 00:00:00 2001
|
|
From: bloess <josua.bloess@uni-bayreuth.de>
|
|
Date: Mon, 15 Feb 2021 16:26:36 +0100
|
|
Subject: [PATCH] install include-dir
|
|
|
|
---
|
|
CMakeLists.txt | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 100d613..464f95a 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -1171,6 +1171,14 @@ foreach (OCCT_MODULE ${OCCT_MODULES})
|
|
endforeach()
|
|
set (OCCT_MODULES_ENABLED ${OCCT_MODULES_ENABLED_SORTED})
|
|
|
|
+foreach (OCCT_LIBRARY ${OCCT_LIBRARIES})
|
|
+ target_include_directories(
|
|
+ ${OCCT_LIBRARY}
|
|
+ INTERFACE
|
|
+ $<INSTALL_INTERFACE:include>)
|
|
+
|
|
+endforeach()
|
|
+
|
|
# Add all targets to the build-tree export set
|
|
export (TARGETS ${OCCT_LIBRARIES} FILE "${CMAKE_BINARY_DIR}/OpenCASCADETargets.cmake")
|
|
|
|
--
|
|
2.14.3.windows.1
|
|
|