cmake : fix building shared libs for clang (rocm) on windows

This commit is contained in:
Engininja2 2023-09-14 12:21:16 -06:00
parent 769266a543
commit c644c1e984

View file

@ -445,7 +445,7 @@ if (LLAMA_ALL_WARNINGS)
endif()
if (MSVC)
if (WIN32)
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
if (BUILD_SHARED_LIBS)