Fix -msbuild build for Clr subset

This commit is contained in:
EgorBo 2025-07-30 14:23:05 +02:00
parent 123627ba0f
commit 0c95a190fb
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,9 @@ endif()
add_library_clr(clrinterpreter ${LIBRARY_TYPE} ${INTERPRETER_SOURCES})
set_target_properties(clrinterpreter PROPERTIES EXCLUDE_FROM_ALL $<NOT:${FEATURE_INTERPRETER}>)
if (NOT CMAKE_GENERATOR MATCHES "Visual Studio")
set_target_properties(clrinterpreter PROPERTIES EXCLUDE_FROM_ALL $<NOT:${FEATURE_INTERPRETER}>)
endif()
add_dependencies(clrinterpreter interpreter_exports)