Skip to content

Commit

Permalink
Merge pull request #1142 from ghutchis/no-deprecated-declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
ghutchis authored Aug 25, 2022
2 parents 2c9f4ea + 3d4e341 commit 318987a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions avogadro/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ if(USE_OPENGL)
endif()

if(USE_QT)
if (NOT MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations")
endif()

add_subdirectory(qtgui)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/qtgui)
if(USE_OPENGL)
Expand Down

0 comments on commit 318987a

Please sign in to comment.