Skip to content

Commit

Permalink
fixed compiler flags for msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
mgerhardy authored and xtreme8000 committed Sep 25, 2024
1 parent 64ae0fc commit 2d482be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ project(vxl C)

set(CMAKE_C_STANDARD 99)

if (NOT MSVC)
add_compile_options(-Wall -Wextra -pedantic -std=c99 -Ofast)
endif()

add_library(vxl STATIC libvxl.c)

Expand Down

0 comments on commit 2d482be

Please sign in to comment.