Skip to content

Commit

Permalink
Cython: build with -Wno-deprecated-declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
RudolfWeeber committed Apr 6, 2020
1 parent fc393d0 commit c1beb3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/espressomd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,15 @@ foreach(cython_file ${cython_SRC})
${outputpath}
PROPERTIES
COMPILE_FLAGS
"-Wno-pedantic -Wno-cpp -Wno-strict-aliasing -Wno-maybe-uninitialized -Wno-unused-variable"
"-Wno-pedantic -Wno-cpp -Wno-strict-aliasing -Wno-maybe-uninitialized -Wno-unused-variable -Wno-deprecated-declarations"
)
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID
STREQUAL "AppleClang")
set_source_files_properties(
${outputpath}
PROPERTIES
COMPILE_FLAGS
"-Wno-pedantic -Wno-#warnings -Wno-sometimes-uninitialized -Wno-unused-variable"
"-Wno-pedantic -Wno-#warnings -Wno-sometimes-uninitialized -Wno-unused-variable -Wno-deprecated-declarations"
)
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
set_source_files_properties(${outputpath} PROPERTIES COMPILE_FLAGS
Expand Down

0 comments on commit c1beb3d

Please sign in to comment.