Closed nuclearsandwich closed 7 years ago
I'm still not certain whether FindTinyXML.cmake is supposed to be invoked when a cmake package config file is found.
Does that PATH variable point to the system registry under windows?
Does that PATH variable point to the system registry under windows?
It uses CMake variables that are defined in the CMake package configuration file in %ChocolateyInstall%\lib\tinyxml-usestl\share\cmake
Which is a directory CMake looks in because the system registry tells it to look their for TinyXML
.
I screened this using your eigen_test workspace and running the generator with the package installed normally and verifying the libraries and includes are found, then by changing the key name in the system package registry away from TinyXML and regenerating the build. This latter time failed, which gives me hope that updating these will make the generator work.
@Karsten1987 I think we need this before that build will succeed.
I'm not convinced this change is bad but it also isn't necessary so I'm closing this for now.
According to the docs for find_path and find_library suggested paths need to be behind the PATHS keyword.
This will help get us closer to debugging Windows builds.
cc @Karsten1987 since we've been working on this.