From 23d697e77e3219f9169ef06564d9b108cf7c4303 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 20 Feb 2009 13:58:44 +0000 Subject: [PATCH] Added VisualStudio versioning info to plugins --- CMakeModules/OsgMacroUtils.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeModules/OsgMacroUtils.cmake b/CMakeModules/OsgMacroUtils.cmake index 5e6281b9a..b34bedfd0 100644 --- a/CMakeModules/OsgMacroUtils.cmake +++ b/CMakeModules/OsgMacroUtils.cmake @@ -137,6 +137,9 @@ MACRO(SETUP_PLUGIN PLUGIN_NAME) ELSE(${ARGC} GREATER 1) SET(PACKAGE_COMPONENT libopenscenegraph) ENDIF(${ARGC} GREATER 1) + + # Add the VisualStudio versioning info + SET(TARGET_SRC ${TARGET_SRC} ${OPENSCENEGRAPH_VERSIONINFO_RC}) # here we use the command to generate the library