Changed version to only be run for Visual Studio

This commit is contained in:
Robert Osfield 2009-02-05 14:56:39 +00:00
parent f3166c2d96
commit 09dca8e90b

View File

@ -274,11 +274,11 @@ CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/src/osg/Config.in"
################################################################################
# Set Version Info resource file
IF(WIN32)
IF(MSVC)
SET(OPENSCENEGRAPH_VERSIONINFO_RC "${PROJECT_BINARY_DIR}/PlatformSpecifics/Windows/VersionInfo.rc")
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/PlatformSpecifics/Windows/VersionInfo.rc.in"
"${OPENSCENEGRAPH_VERSIONINFO_RC}")
ENDIF(WIN32)
ENDIF(MSVC)
################################################################################
# Optional build components