diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/cgns/install-lib-linkage.diff | |
Diffstat (limited to 'vcpkg/ports/cgns/install-lib-linkage.diff')
| -rw-r--r-- | vcpkg/ports/cgns/install-lib-linkage.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/cgns/install-lib-linkage.diff b/vcpkg/ports/cgns/install-lib-linkage.diff new file mode 100644 index 0000000..8aa37af --- /dev/null +++ b/vcpkg/ports/cgns/install-lib-linkage.diff @@ -0,0 +1,13 @@ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index fc3ad34..bef4944 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -697,6 +697,8 @@ endif() + + set (install_targets cgns_static) + if(CGNS_BUILD_SHARED) ++ set_target_properties(${install_targets} PROPERTIES EXCLUDE_FROM_ALL 1) ++ set(install_targets "") + set(install_targets ${install_targets} cgns_shared) + endif () + # Set the install path of the static and shared library |