Skip to content

Commit

Permalink
ONE MORE TIME
Browse files Browse the repository at this point in the history
  • Loading branch information
jadebenn committed Jan 31, 2024
1 parent ae2115c commit 3fa8006
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ if(UNIX)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -O2 -fPIC")
elseif(MSVC)
# Skip warning for invalid conversion from size_t to uint32_t for all targets below for now
add_compile_options ("/permissive-;/Zc:inline;/wd4267;/utf-8")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /permissive- /Zc:inline")
add_compile_options ("/wd4267" "/utf-8")
elseif(WIN32)
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
endif()
Expand Down

0 comments on commit 3fa8006

Please sign in to comment.