Skip to content

Commit

Permalink
Also incorporate the Wunused-private-field flag
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Nov 30, 2024
1 parent f0aa97c commit 77c6b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ target_include_directories(ensmallen INTERFACE
if(MSVC)
target_compile_options(ensmallen INTERFACE $<BUILD_INTERFACE:/Wall>)
else()
target_compile_options(ensmallen INTERFACE $<BUILD_INTERFACE:-Wall -Wpedantic -Wunused-parameter -Wunused-variable>)
target_compile_options(ensmallen INTERFACE $<BUILD_INTERFACE:-Wall -Wpedantic -Wunused-parameter -Wunused-variable -Wunused-private-field>)
endif()

# Find OpenMP and link it.
Expand Down

0 comments on commit 77c6b06

Please sign in to comment.