summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAnton Adamansky <adamansky@gmail.com>2015-03-27 17:48:58 +0600
committerAnton Adamansky <adamansky@gmail.com>2015-03-27 17:48:58 +0600
commitfec228b08a3c9c3ca7086745a630d1dc67d33404 (patch)
treebb834b81d6381e2d7421beb9457524a304dc306f /src/CMakeLists.txt
parent0e571de684877ef256c22d3a495742f1abba0915 (diff)
downloadejdb-fec228b08a3c9c3ca7086745a630d1dc67d33404.tar.gz
ejdb-fec228b08a3c9c3ca7086745a630d1dc67d33404.tar.bz2
ejdb-fec228b08a3c9c3ca7086745a630d1dc67d33404.zip
#121 added -Wno-unknown-pragmas CC flag
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 567e2b2..bdcc1a4 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -143,7 +143,7 @@ include_directories(${EJDB_INCLUDE_DIRS})
target_link_libraries(ejdb ${EJDB_LLIBRARIES})
target_link_libraries(ejdb_p ${EJDB_LLIBRARIES})
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -fsigned-char -pedantic -Wfatal-errors")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -fsigned-char -pedantic -Wfatal-errors -Wno-unknown-pragmas")
if (NOT WIN32) ## todo review
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
endif(NOT WIN32)