Skip to content

Commit e8ae31a

Browse files
committed
Silence deprecated declaration warning from boost.
Signed-off-by: Tony Xiang <[email protected]>
1 parent 29ec4ae commit e8ae31a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ if(WIN32)
3030
else()
3131
add_compile_options(-Wall -Wextra -pedantic -Werror)
3232
add_compile_options(-Wno-deprecated-copy) # bug in boost
33+
add_compile_options(-Wno-deprecated-declarations) # bug in boost
3334
if(UNIX AND NOT APPLE)
3435
# test coverage for debug build in linux, if specified
3536
if ((CMAKE_BUILD_TYPE STREQUAL "Debug") AND (DEFINED POWER_GRID_MODEL_COVERAGE) AND (POWER_GRID_MODEL_COVERAGE EQUAL 1))

0 commit comments

Comments
 (0)