Gepetto / gepetto-viewer

Graphical Interface for Pinocchio and HPP.
BSD 2-Clause "Simplified" License
41 stars 30 forks source link

[CMake] fix component requirement #147

Closed nim65s closed 4 years ago

nim65s commented 4 years ago

In #143, the QtAll component of PythonQt is required, meaning that if we find PythonQt but not its QtAll component, we should consider that PythonQt was not found.

I thought that FIND_PACKAGE(PythonQt COMPONENTS QtAll REQUIRED) as opposed to FIND_PACKAGE(PythonQt REQUIRED COMPONENTS QtAll REQUIRED) would mean that, but actually, this second REQUIRED implies a failure of the configure step if PythonQt is not found.