diff --git a/src/osgPlugins/Inventor/CMakeLists.txt b/src/osgPlugins/Inventor/CMakeLists.txt index 3cd56ce10..8602aa942 100644 --- a/src/osgPlugins/Inventor/CMakeLists.txt +++ b/src/osgPlugins/Inventor/CMakeLists.txt @@ -1,8 +1,5 @@ INCLUDE(OsgMacroUtils) -# Disable the build of a problem section in ConvertToInventor.cpp -ADD_DEFINITIONS(-DDISABLE_PROBLEM_COMPILE_SECTIONS) - SET(TARGET_SRC ConvertToInventor.cpp ConvertFromInventor.cpp @@ -22,6 +19,8 @@ SET(TARGET_HDRS ADD_DEFINITIONS(-DCOIN_DLL) -SET(TARGET_EXTERNAL_LIBRARIES ${INVENTOR_LIBRARY} ) +INCLUDE_DIRECTORIES(${INVENTOR_INCLUDE_DIR}) + +SET(TARGET_LIBRARIES_VARS INVENTOR_LIBRARY) SETUP_PLUGIN(iv)