File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ macro(PerformSettingsForInteropEntry interopAssemblyName)
173
173
list (REMOVE_DUPLICATES NF_NativeAssemblies_SOURCES)
174
174
175
175
# add the assembly version to the list
176
- AddNativeAssemblyVersion(interopAssemblyName interopAssemblyNameWithoutDots "${${interopAssemblyName} _SOURCES}" )
176
+ AddNativeAssemblyVersion(" ${ interopAssemblyName} " " ${ interopAssemblyNameWithoutDots} " "${${interopAssemblyName} _SOURCES}" )
177
177
endmacro ()
178
178
179
179
#################################################################
@@ -485,7 +485,10 @@ list(APPEND NF_NativeAssemblies_SOURCES "${CMAKE_CURRENT_BINARY_DIR}/CLR_RT_Inte
485
485
486
486
# create a .csv file with native assembly versions in the output directory
487
487
string (REPLACE ";" "\r\n " NF_NativeAssemblies_CSV "${NF_NativeAssemblies_VERSIONS} " )
488
- file (WRITE "${CMAKE_BINARY_DIR} /native_assemblies.csv" "${NF_NativeAssemblies_CSV} " )
488
+ file (WRITE "${CMAKE_BINARY_DIR} /native_assemblies.csv" "${NF_NativeAssemblies_CSV} " RESULT_VARIABLE WRITE_RESULT)
489
+ if (NOT WRITE_RESULT EQUAL 0)
490
+ message (WARNING "Failed to write native_assemblies.csv file" )
491
+ endif ()
489
492
490
493
# output the list of APIs included
491
494
list (LENGTH apiListing apiListingLenght)
You can’t perform that action at this time.
0 commit comments