vcpkg/ports/netgen/vcpkg-fix-cgns-link.patch
Alexander Neumann 763a397e30
[netgen] add new port (#31288)
* [netgen] add new port

* v db

* fix config path for linux

* v db

* add supports

* figure out CI error

* fix the path correctly

* v db

* fix install layout

* v db

* more cleanup

* v db

* fix cmake usage and missing filesystem include

* v db

* disable parallel configure

* v db

* update to latest tag

* v db

* control cmake install loc

* v db

* more install control for mac

* v db

* more mac fixes

* v db

* remove old version

* replace cgns patch

* v db

---------

Co-authored-by: vzhli17 <v-zhli17@microsoft.com>
2024-01-16 15:04:21 -08:00

14 lines
517 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index bf92061..933505d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -500,7 +500,7 @@ endif(ENABLE_CPP_CORE_GUIDELINES_CHECK)
add_library(netgen_cgns INTERFACE)
if(USE_CGNS)
- find_library( CGNS_LIBRARY NAMES cgns cgnsdll )
+ find_library( CGNS_LIBRARY NAMES cgnsdll cgns)
find_path( CGNS_INCLUDE_DIR cgnslib.h )
target_compile_definitions(netgen_cgns INTERFACE NG_CGNS)
target_include_directories(netgen_cgns INTERFACE ${CGNS_INCLUDE_DIR})