Thanks for the help . That did get it to find something, though the result looks a bit unusual.wmayer wrote: ↑Thu Aug 04, 2022 10:25 am Change the content of SetupCoin3D.cmake to:Code: Select all
macro(SetupCoin3D) # -------------------------------- Coin3D -------------------------------- # First try CONFIG mode find_package(Coin CONFIG) if (Coin_FOUND) set (COIN3D_INCLUDE_DIRS ${Coin_INCLUDE_DIR}) set (COIN3D_LIBRARIES ${Coin_LIBRARIES}) else() # Try MODULE mode now if (WIN32 AND MINGW) find_path(COIN3D_INCLUDE_DIRS Inventor/So.h) find_library(COIN3D_LIBRARIES Coin) endif () find_package(Coin3D REQUIRED) if(NOT COIN3D_FOUND) message(FATAL_ERROR "=================\n" "Coin3D not found.\n" "=================\n") endif(NOT COIN3D_FOUND) endif() IF(NOT PIVY_VERSION) execute_process (COMMAND ${Python3_EXECUTABLE} -c "import pivy as p; print(p.__version__,end='')" OUTPUT_VARIABLE PIVY_VERSION) ENDIF() endmacro(SetupCoin3D)
Code: Select all
-- Coin3D: [optimized;Coin;debug;Coin] [/usr/include/Coin4]
Thanks babaroga . That will be my fallback solution. First I'll follow wmayer's suggestions and hopefully get this fixed in master.