Skip to content

Commit 2fa846d

Browse files
ktfawegrzyn
authored andcommitted
Avoid missing symbols (#152)
1 parent 0eae8d7 commit 2fa846d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ project(Monitoring
2222
add_subdirectory(doc)
2323

2424
# Add compiler flags for warnings and debug symbols
25-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra")
25+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_ERROR_CODE_HEADER_ONLY")
2626

2727
# Set fPIC for all targets
2828
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

0 commit comments

Comments
 (0)