cmake : fix building shared libs for clang (rocm) on windows
This commit is contained in:
parent
769266a543
commit
c644c1e984
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ if (LLAMA_ALL_WARNINGS)
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (MSVC)
|
if (WIN32)
|
||||||
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
|
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
|
||||||
|
|
||||||
if (BUILD_SHARED_LIBS)
|
if (BUILD_SHARED_LIBS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue