summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNiels Ole Salscheider <niels_ole@salscheider-online.de>2015-06-05 12:47:13 +0200
committerAlexandr Akulich <akulichalexander@gmail.com>2015-06-07 23:48:17 +0500
commit2a460afdbd0cb39d8dcecaf6cea5ce9ce7d3216b (patch)
tree4a8e9cf8c329d773120114a8602a7814c295c3ff /cmake
parent4a8d46a6f746e6dbe91edd8f76cac4c25c73eb3d (diff)
CMake: Fixed deprecated _BSD_SOURCE.
Since glibc-2.20 _DEFAULT_SOURCE definition is also required. Reviewed-by: Alexandr Akulich
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/TelepathyDefaults.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/TelepathyDefaults.cmake b/cmake/modules/TelepathyDefaults.cmake
index d34b24d7..dc98697d 100644
--- a/cmake/modules/TelepathyDefaults.cmake
+++ b/cmake/modules/TelepathyDefaults.cmake
@@ -108,7 +108,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
endif(${NOT_RELEASE} EQUAL 1)
if(CMAKE_SYSTEM_NAME MATCHES Linux)
- add_definitions(-D_BSD_SOURCE)
+ add_definitions(-D_BSD_SOURCE -D_DEFAULT_SOURCE)
endif(CMAKE_SYSTEM_NAME MATCHES Linux)
# Compiler coverage