Skip to content

Commit

Permalink
Put pedantic compilation back in place
Browse files Browse the repository at this point in the history
  • Loading branch information
svenstaro committed Oct 9, 2023
1 parent f7ef4ea commit 3171f49
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ add_executable(glslls
${SOURCES}
)

if (MSVC)
target_compile_options(glslls PRIVATE /W4)
else()
target_compile_options(glslls PRIVATE -Wall -Wextra -Wpedantic)
endif()

target_link_libraries(glslls
${CMAKE_THREAD_LIBS_INIT}
glslang
Expand Down

0 comments on commit 3171f49

Please sign in to comment.