diff options
| author | Park DongHa <luncliff@gmail.com> | 2021-08-31 01:51:19 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-30 09:51:19 -0700 |
| commit | 047e8ef16e2cdb431b9857b79fdfa237b0f038e2 (patch) | |
| tree | eaf7c5c251c78ab11a5f8f9eac2c35c34eebd66b /ports/libunifex/fix-install.patch | |
| parent | 8602e5facbc255cff84f0101cac150bb74296e20 (diff) | |
| download | vcpkg-047e8ef16e2cdb431b9857b79fdfa237b0f038e2.tar.gz vcpkg-047e8ef16e2cdb431b9857b79fdfa237b0f038e2.zip | |
[libunifex] create a new port (#19279)
* [libunifex] create a new port
* [libunifex] update version/baseline
* [libunifex] fix wrong support expression
* update version SHA
* [libunifex] more warning comments
* [libunifex] use `unofficial::` namespace
* [libunifex] allow warnings in build
* simplify the patch file
* Update ports/libunifex/vcpkg.json
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
* [libunifex] update patch files
* [libunifex] replace INCLUDEDIR to include
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
Diffstat (limited to 'ports/libunifex/fix-install.patch')
| -rw-r--r-- | ports/libunifex/fix-install.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ports/libunifex/fix-install.patch b/ports/libunifex/fix-install.patch new file mode 100644 index 000000000..2b454c49c --- /dev/null +++ b/ports/libunifex/fix-install.patch @@ -0,0 +1,33 @@ +diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt +index 3f25517..3c34a54 100644 +--- a/source/CMakeLists.txt ++++ b/source/CMakeLists.txt +@@ -67,10 +67,27 @@ configure_file( + target_include_directories(unifex + PUBLIC + $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../include/> +- "${PROJECT_BINARY_DIR}/include") ++ $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include> ++ $<INSTALL_INTERFACE:include>) + + target_compile_features(unifex PUBLIC cxx_std_17) + + if(CXX_COROUTINES_HAVE_COROUTINES) + target_link_libraries(unifex PUBLIC std::coroutines) + endif() ++ ++install(DIRECTORY ${PROJECT_SOURCE_DIR}/include/unifex ++ DESTINATION include ++) ++install(FILES ${PROJECT_BINARY_DIR}/include/unifex/config.hpp ++ DESTINATION include/unifex ++) ++ ++install(TARGETS unifex ++ EXPORT unifex-config ++ DESTINATION lib ++) ++install(EXPORT unifex-config ++ NAMESPACE unofficial:: ++ DESTINATION lib/cmake/unifex ++) |
