CMake: re-add workaround for MINGW to find Coin3D

This commit is contained in:
wmayer
2022-08-02 16:57:36 +02:00
parent 7824d7b1df
commit 8690630495

View File

@@ -1,6 +1,11 @@
macro(SetupCoin3D)
# -------------------------------- Coin3D --------------------------------
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"