coin3d / pivy

python bindings to coin3d
ISC License
53 stars 37 forks source link

fix packages search on Unix platforms #68

Closed efferre79 closed 3 years ago

efferre79 commented 4 years ago

The CMakeLists.txt uses find_package() macro in CONFIG mode to detect coin and soqt packages information. These files on Unix platforms are normally searched in

<prefix>/(lib/<arch>|lib*|share)/cmake/<name>*/ 
<prefix>/(lib/<arch>|lib*|share)/<name>*/ 
<prefix>/(lib/<arch>|lib*|share)/<name>*/(cmake|CMake)/

If the project type is NONE those paths are excluded from the search. Let's use the default project type which is C and CXX.

looooo commented 4 years ago

@efferre79 can you help us with moving to cmake https://github.com/coin3d/pivy/pull/69. I guess this would also solve you issue.

luzpaz commented 3 years ago

Is this still valid?

looooo commented 3 years ago

@efferre79 please reopen if this is still valid.