[CMake] Problem with FindXercesC.cmake

Michael Ellery mellery451 at gmail.com
Thu Sep 27 18:01:29 EDT 2018


> On Sep 27, 2018, at 2:55 PM, Mateusz Loskot <mateusz at loskot.net> wrote:
> 
> 
> 
>> I use to rely on a custom FindXercesC.cmake file that was using XercesC_ROOT to figure all this out.
>> Is there any way to do the same here?
> 
> There seem to be no Xxx_ROOT_DIR handled by this module
> https://cmake.org/cmake/help/latest/module/FindXercesC.html
> 
> Best regards,
> -- 
> Mateusz Loskot, http://mateusz.loskot.net
>
although, if I understand correctly, it sounds like cmake 3.12 with policy 0074 set might give you the xx_ROOT functionality without changing the find module:

https://cmake.org/cmake/help/latest/policy/CMP0074.html






More information about the CMake mailing list