Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
sammysun0711 committed Jan 6, 2025
1 parent 9cd3b03 commit 8df94f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions samples/cpp/chat_sample/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
# Specifies both the source character set and the execution character set as UTF-8.
# For details, refer to link: https://learn.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8?view=msvc-170
add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>")
endif()

add_executable(chat_sample chat_sample.cpp)
target_link_libraries(chat_sample PRIVATE openvino::genai)
Expand Down

0 comments on commit 8df94f4

Please sign in to comment.