File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ IF(APPLE)
42
42
MESSAGE (STATUS "OSG_OSX_VERSION=${OSG_OSX_VERSION} " )
43
43
ENDIF ()
44
44
45
+ PROJECT (OpenSceneGraph )
46
+
45
47
# Set OSX architecture flags here, since they must be specified before
46
48
# creating the actual OSG project.
47
49
# Note that the CMAKE_OSX_* variables are not well documented in
@@ -52,7 +54,7 @@ ENDIF()
52
54
53
55
IF (ANDROID )
54
56
SET (OSG_WINDOWING_SYSTEM "None" CACHE STRING "Windowing system type for graphics window creation; options: None." )
55
- ELSEIF (WIN32 )
57
+ ELSEIF (WIN32 OR MINGW )
56
58
SET (OSG_WINDOWING_SYSTEM "Win32" CACHE STRING "Windowing system type for graphics window creation; options: Win32 or None." )
57
59
ELSEIF (APPLE )
58
60
# custom option to flag an iOS build
@@ -120,7 +122,6 @@ ELSE()
120
122
SET (OSG_WINDOWING_SYSTEM "X11" CACHE STRING "Windowing system type for graphics window creation; options: X11 or None." )
121
123
ENDIF ()
122
124
123
- PROJECT (OpenSceneGraph )
124
125
125
126
SET (OPENSCENEGRAPH_VERSION ${OPENSCENEGRAPH_MAJOR_VERSION} .${OPENSCENEGRAPH_MINOR_VERSION}.${OPENSCENEGRAPH_PATCH_VERSION} )
126
127
You can’t perform that action at this time.
0 commit comments