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)
173173 list (REMOVE_DUPLICATES NF_NativeAssemblies_SOURCES)
174174
175175 # add the assembly version to the list
176- AddNativeAssemblyVersion(interopAssemblyName interopAssemblyNameWithoutDots "${${interopAssemblyName} _SOURCES}" )
176+ AddNativeAssemblyVersion(" ${ interopAssemblyName} " " ${ interopAssemblyNameWithoutDots} " "${${interopAssemblyName} _SOURCES}" )
177177endmacro ()
178178
179179#################################################################
@@ -485,7 +485,10 @@ list(APPEND NF_NativeAssemblies_SOURCES "${CMAKE_CURRENT_BINARY_DIR}/CLR_RT_Inte
485485
486486# create a .csv file with native assembly versions in the output directory
487487string (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 ()
489492
490493# output the list of APIs included
491494list (LENGTH apiListing apiListingLenght)
You can’t perform that action at this time.
0 commit comments