diff --git a/CMakeLists.txt b/CMakeLists.txt index 50e349957..84e28b02d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,7 +12,6 @@ project(megatest) add_subdirectory(libs) -# binary file(GLOB_RECURSE SOURCES "src/*.cpp") add_executable(${PROJECT_NAME} ${SOURCES}) target_include_directories(${PROJECT_NAME} diff --git a/libs/CMakeLists.txt b/libs/CMakeLists.txt index 69c48fd1c..23ff6a67f 100755 --- a/libs/CMakeLists.txt +++ b/libs/CMakeLists.txt @@ -37,6 +37,9 @@ add_library(stb STATIC ${STB_SOURCES} ${STB_HEADERS}) # --- SPDLOG --- add_subdirectory(spdlog) +if (MSVC) + target_compile_options(spdlog PRIVATE /utf-8) +endif() # --- IMGUI --- file (GLOB IMGUI_SOURCES imgui/*.cpp)