Skip to content

Commit

Permalink
final(?) try for now
Browse files Browse the repository at this point in the history
  • Loading branch information
jadebenn committed Jan 31, 2024
1 parent 119937f commit ae2115c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ 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("/wd4267" "/utf-8")
add_compile_options ("/permissive-;/Zc:inline;/wd4267;/utf-8")
elseif(WIN32)
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
endif()
Expand Down
3 changes: 1 addition & 2 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
"value": "x64"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"COMPILE_OPTIONS": "/W3;/WX;/permissive-;/Zc:inline"
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
Expand Down

0 comments on commit ae2115c

Please sign in to comment.