<br>I think Ryan's comments help support my assessment of FindWhatevers. Add recently downloaded GTK in GLade 3.6 for windows and can now add this to list of not working FindWhatevers. find_package( GTK2 ) of course does not work for this as of today. <br>
<br>Statements like <br><br>"CAUTION: The contents of this page may be obsolete" <br>and <br>"The information in the How to write a FindFoo.cmake module section is somewhat dated. " <br><br>at <a href="http://www.cmake.org/Wiki/CMake:How_To_Find_Installed_Software">http://www.cmake.org/Wiki/CMake:How_To_Find_Installed_Software</a> regarding how to write a FindWhatever probably are not helping would be developers.<br>
<br>You might find this interesting regarding PATHS and HINTS of find_package(cuda) :<br><a href="http://www.mail-archive.com/cmake@cmake.org/msg26348.html">http://www.mail-archive.com/cmake@cmake.org/msg26348.html</a><br>
<br>From:<br><br><a href="http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:find_package">http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:find_package</a><br><br>You might be interested in:<br><p>-snip--</p>
find_package(<package> [version] [EXACT] [QUIET]<br> [[REQUIRED|COMPONENTS] [components...]] [NO_MODULE]<br> [NO_POLICY_SCOPE]<br> [NAMES name1 [name2 ...]]<br> [CONFIGS config1 [config2 ...]]<br>
[HINTS path1 [path2 ... ]]<br> [PATHS path1 [path2 ... ]]<br> [PATH_SUFFIXES suffix1 [suffix2 ...]]<br> [NO_DEFAULT_PATH]<br> [NO_CMAKE_ENVIRONMENT_PATH]<br>
[NO_CMAKE_PATH]<br> [NO_SYSTEM_ENVIRONMENT_PATH]<br> [NO_CMAKE_PACKAGE_REGISTRY]<br> [NO_CMAKE_BUILDS_PATH]<br> [NO_CMAKE_SYSTEM_PATH]<br> [CMAKE_FIND_ROOT_PATH_BOTH |<br>
ONLY_CMAKE_FIND_ROOT_PATH |<br> NO_CMAKE_FIND_ROOT_PATH])<p>...</p><p>...</p><p></p><p><br></p><p>2. Search paths specified in cmake-specific environment variables.
These are intended to be set in the user's shell configuration. This
can be skipped if NO_CMAKE_ENVIRONMENT_PATH is passed.<br></p><pre> CMAKE_PREFIX_PATH<br> CMAKE_FRAMEWORK_PATH<br> CMAKE_APPBUNDLE_PATH<br><br></pre><p>3. Search paths specified by the HINTS option. These should be paths
computed by system introspection, such as a hint provided by the
location of another item already found. Hard-coded guesses should be
specified with the PATHS option.<br></p><p>7. Search cmake variables defined in the Platform files for the
current system. This can be skipped if NO_CMAKE_SYSTEM_PATH is passed.<br></p> CMAKE_SYSTEM_PREFIX_PATH<br> CMAKE_SYSTEM_FRAMEWORK_PATH<br> CMAKE_SYSTEM_APPBUNDLE_PATH<br><br><p>8. Search paths specified by the PATHS option. These are typically
hard-coded guesses.<br></p><br>--end snip--<br><br>If you try CMAKE_PREFIX_PATH post back if it worked/did not work as I have not tried it. I finally got smart... and gave up tying to get it to work.<br><br><br><br>