File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,9 @@ endif()
98
98
set (set_system_name )
99
99
if (CMAKE_SYSTEM_NAME )
100
100
set (set_system_name -DCMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME} )
101
+ if (CMAKE_SYSTEM_VERSION )
102
+ list (APPEND set_system_name -DCMAKE_SYSTEM_VERSION=${CMAKE_SYSTEM_VERSION} )
103
+ endif ()
101
104
endif ()
102
105
103
106
set (set_system_processor )
@@ -107,7 +110,7 @@ endif()
107
110
108
111
if (NOT EXISTS "${PB_BINARY_DIR} /exports.cmake" )
109
112
110
- message ("==== Configuring Protobuf build using cmake generator: ${CMAKE_GENERATOR} ${set_arch} ${set_toolset} " )
113
+ message ("==== Configuring Protobuf build using cmake generator: ${CMAKE_GENERATOR} ${set_arch} ${set_toolset} ${set_system_name} " )
111
114
112
115
file (REMOVE "${PB_BINARY_DIR} /CMakeCache.txt" )
113
116
file (MAKE_DIRECTORY "${PB_BINARY_DIR} " )
You can’t perform that action at this time.
0 commit comments