diff --git a/src/osgPlugins/exr/CMakeLists.txt b/src/osgPlugins/exr/CMakeLists.txt index e2bb83b5e..c1adf7f03 100644 --- a/src/osgPlugins/exr/CMakeLists.txt +++ b/src/osgPlugins/exr/CMakeLists.txt @@ -2,7 +2,7 @@ INCLUDE_DIRECTORIES( ${OPENEXR_INCLUDE_DIR}/OpenEXR ) SET(TARGET_SRC ReaderWriterEXR.cpp ) -SET(TARGET_LIBRARIES_VARS OPENEXR_LIBRARY ) +SET(TARGET_EXTERNAL_LIBRARIES ${OPENEXR_LIBRARIES} ) #### end var setup ### SETUP_PLUGIN(exr)