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

This commit is contained in:
Engininja2 2023-09-15 06:24:30 -06:00 committed by GitHub
parent 235f7c193b
commit 7e50d34be6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)