Hi,<br><br>First sorry if this has been addressed in the past but I could find any reference to it...<br><br>I am using a Module FindFoo.cmake.<br><br>I know I am expecting it to set FOO_FOUND and other variables such as FOO_INCLUDE_DIR, FOO_LIBRARIES, etc.<br>
<br>My question is : what is the exact operation that I should use to transform Foo in FOO...<br><br>I am having a problem now because I am writing a simple macro that takes the name of the package, and then check the different variables after the find_package() call.<br>
If it works like a charm with "SDL" -> "SDL", I m having issues for "SDL_image" -> "SDLIMAGE" for example...<br><br>So I was wondering if there is a proper way of transforming the name of the package into the name of the variables the module checks.<br>
<br>Thanks a lot for the help ;-)<br><br>--<br>Alex<br><br><br>