summaryrefslogtreecommitdiff
blob: 67fafafc93b2accc66495c7eafb777037ab73be6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 860e4ea..7d646b1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -110,7 +110,6 @@ if (ENABLE_BSON STREQUAL SYSTEM)
       message ("--   libbson include path \"${BSON_INCLUDE_DIRS}\"")
       message ("--   libbson libraries \"${BSON_LIBRARIES}\"")
       message ("--   disabling test-libmongoc since using system libbson")
-      SET (ENABLE_TESTS OFF)
 
       if (ENABLE_STATIC MATCHES "ON|AUTO")
          find_package (libbson-static-1.0
diff --git a/src/libbson/tests/test-bson.c b/src/libbson/tests/test-bson.c
index 51514ed..accb251 100644
--- a/src/libbson/tests/test-bson.c
+++ b/src/libbson/tests/test-bson.c
@@ -18,7 +18,7 @@
 #include <bson.h>
 #include <bcon.h>
 #define BSON_INSIDE
-#include <bson-private.h>
+#include "bson-private.h"
 #undef BSON_INSIDE
 #include <fcntl.h>
 #include <time.h>