Re: [CMake] Proper way to find system copy of libxml2 on macOS

2016-10-12 Thread rleigh
On 2016-10-12 15:28, Konstantin Tokarev wrote: Hello, In my cmake project I need to use system version of libxml2 on macOS (/usr/lib/libxml2.dylib), however in case it is installed in MacPorts the latter version is picked by find_package. On the other hand I'd like to avoid hardcoding absolute

Re: [CMake] Proper way to find system copy of libxml2 on macOS

2016-10-12 Thread Eric Noulard
2016-10-12 18:04 GMT+02:00 Konstantin Tokarev : > > > 12.10.2016, 18:48, "Eric Noulard" : > > 2016-10-12 17:28 GMT+02:00 Konstantin Tokarev : > > > > > My guess is that your find_package call end up in "Module mode" because > there is

Re: [CMake] Proper way to find system copy of libxml2 on macOS

2016-10-12 Thread Konstantin Tokarev
12.10.2016, 19:04, "rle...@codelibre.net" : > On 2016-10-12 15:28, Konstantin Tokarev wrote: >>  Hello, >> >>  In my cmake project I need to use system version of libxml2 on macOS >>  (/usr/lib/libxml2.dylib), however in case it is installed in MacPorts >>  the latter

Re: [CMake] Proper way to find system copy of libxml2 on macOS

2016-10-12 Thread Konstantin Tokarev
12.10.2016, 18:48, "Eric Noulard" : > 2016-10-12 17:28 GMT+02:00 Konstantin Tokarev : >> Hello, >> >> In my cmake project I need to use system version of libxml2 on macOS >> (/usr/lib/libxml2.dylib), however in case it is installed in MacPorts the >>

Re: [CMake] Proper way to find system copy of libxml2 on macOS

2016-10-12 Thread Eric Noulard
2016-10-12 17:28 GMT+02:00 Konstantin Tokarev : > Hello, > > In my cmake project I need to use system version of libxml2 on macOS > (/usr/lib/libxml2.dylib), however in case it is installed in MacPorts the > latter version is picked by find_package. On the other hand I'd like