Skip to content

Commit

Permalink
Update formatting for cmake/warnings.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Nov 21, 2022
1 parent 96d837c commit 8c8a868
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cmake/warnings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,11 @@ endif()
if(DYNINST_WARNINGS_AS_ERRORS)
list(APPEND REQUESTED_WARNING_FLAGS "Werror")
message(STATUS "DYNINST_WARNINGS_AS_ERRORS set: treating warnings as errors")

# If not building with OpenMP or if static libs are enabled, ignore OpenMP pragma warnings

# If not building with OpenMP or if static libs are enabled, ignore OpenMP pragma
# warnings
if(NOT USE_OpenMP OR ENABLE_STATIC_LIBS)
list(APPEND REQUESTED_WARNING_FLAGS "Wno-unknown-pragmas")
list(APPEND REQUESTED_WARNING_FLAGS "Wno-unknown-pragmas")
endif()
endif()

Expand Down

0 comments on commit 8c8a868

Please sign in to comment.