From 09dca8e90b364ce2efa2aa6266068dd37eee6aa5 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 5 Feb 2009 14:56:39 +0000 Subject: [PATCH] Changed version to only be run for Visual Studio --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c7edb24fb..200d6ec37 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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