diff options
author | Albert Astals Cid <aacid@kde.org> | 2010-04-14 19:21:33 +0100 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2010-04-14 19:25:53 +0100 |
commit | a8d43ec1c7f5448a7f63d9bbd9062d56ee1c7c58 (patch) | |
tree | 67a7b06eace728a952bc092fee3c129b00b2ed44 /cmake | |
parent | 4cce1f14e964edf1bf2d9fb8286ee002a67dc212 (diff) |
update XOPEN_SOURCE to 600 in non standard compile options
it seems helps compiling on some BSD
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/PopplerMacros.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/PopplerMacros.cmake b/cmake/modules/PopplerMacros.cmake index befd20ae..e6b1efcf 100644 --- a/cmake/modules/PopplerMacros.cmake +++ b/cmake/modules/PopplerMacros.cmake @@ -102,7 +102,7 @@ if(CMAKE_COMPILER_IS_GNUCXX) # set the default compile warnings set(DEFAULT_COMPILE_WARNINGS_NO) set(DEFAULT_COMPILE_WARNINGS_YES "-Wall -Wno-write-strings") - set(DEFAULT_COMPILE_WARNINGS_KDE "-Wno-long-long -Wundef -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common") + set(DEFAULT_COMPILE_WARNINGS_KDE "-Wno-long-long -Wundef -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common") set(CMAKE_CXX_FLAGS "-Wnon-virtual-dtor -Woverloaded-virtual") set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g") |