Changed version to only be run for Visual Studio
This commit is contained in:
parent
f3166c2d96
commit
09dca8e90b
@ -274,11 +274,11 @@ CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/src/osg/Config.in"
|
|||||||
################################################################################
|
################################################################################
|
||||||
# Set Version Info resource file
|
# Set Version Info resource file
|
||||||
|
|
||||||
IF(WIN32)
|
IF(MSVC)
|
||||||
SET(OPENSCENEGRAPH_VERSIONINFO_RC "${PROJECT_BINARY_DIR}/PlatformSpecifics/Windows/VersionInfo.rc")
|
SET(OPENSCENEGRAPH_VERSIONINFO_RC "${PROJECT_BINARY_DIR}/PlatformSpecifics/Windows/VersionInfo.rc")
|
||||||
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/PlatformSpecifics/Windows/VersionInfo.rc.in"
|
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/PlatformSpecifics/Windows/VersionInfo.rc.in"
|
||||||
"${OPENSCENEGRAPH_VERSIONINFO_RC}")
|
"${OPENSCENEGRAPH_VERSIONINFO_RC}")
|
||||||
ENDIF(WIN32)
|
ENDIF(MSVC)
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Optional build components
|
# Optional build components
|
||||||
|
Loading…
Reference in New Issue
Block a user