File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,13 @@ endforeach()
17
17
string (JSON j SET ${j} compiler "{}" )
18
18
string (JSON j SET ${j} compiler vendor \"${CMAKE_Fortran_COMPILER_ID} \" )
19
19
string(JSON j SET ${j} compiler version \" ${CMAKE_Fortran_COMPILER_VERSION} \" )
20
- string(JSON j SET ${j} compiler system \" ${CMAKE_SYSTEM_NAME} \" )
21
- string(JSON j SET ${j} compiler system_version \" ${CMAKE_SYSTEM_VERSION} \" )
22
- string(JSON j SET ${j} compiler target \" ${CMAKE_SYSTEM_PROCESSOR} \" )
23
20
string(JSON j SET ${j} compiler flags \" ${CMAKE_Fortran_FLAGS} \" )
24
- string(JSON j SET ${j} compiler sysroot \" ${CMAKE_OSX_SYSROOT} \" )
21
+
22
+ string(JSON j SET ${j} platform " {} ")
23
+ string(JSON j SET ${j} platform system \" ${CMAKE_SYSTEM_NAME} \" )
24
+ string(JSON j SET ${j} platform system_version \" ${CMAKE_SYSTEM_VERSION} \" )
25
+ string(JSON j SET ${j} platform target_arch \" ${CMAKE_SYSTEM_PROCESSOR} \" )
26
+ string(JSON j SET ${j} platform sysroot \" ${CMAKE_OSX_SYSROOT} \" )
25
27
26
28
set(feature_file ${CMAKE_CURRENT_BINARY_DIR} /features.json)
27
29
You can’t perform that action at this time.
0 commit comments