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