aboutsummaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-03-26 18:27:30 +0100
committerGitHub <noreply@github.com>2019-03-26 18:27:30 +0100
commit4754220ec8e3febd3d96e8096df8291c7a78fdb1 (patch)
treef88f035bf42d64c4007964d3a0282cf55652914c /test/unit
parent63ad4942ef496be4c1f5e25ba55aae87cae96200 (diff)
parentb4bbcc3f264602bb4b58a5c703cc220ed404d127 (diff)
downloadPROJ-4754220ec8e3febd3d96e8096df8291c7a78fdb1.tar.gz
PROJ-4754220ec8e3febd3d96e8096df8291c7a78fdb1.zip
Merge pull request #1356 from cjmayo/pj_strerrno
pj_strerrno: enable system error messages
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/CMakeLists.txt2
-rw-r--r--test/unit/proj_errno_string_test.cpp1
2 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt
index 9b160be8..66a69c3f 100644
--- a/test/unit/CMakeLists.txt
+++ b/test/unit/CMakeLists.txt
@@ -69,6 +69,8 @@ endif()
include_directories(${CMAKE_SOURCE_DIR}/include)
include_directories(${SQLITE3_INCLUDE_DIR})
+# Add the directory containing proj_config.h
+include_directories(${CMAKE_BINARY_DIR}/src)
add_executable(proj_pj_transform_test
main.cpp
diff --git a/test/unit/proj_errno_string_test.cpp b/test/unit/proj_errno_string_test.cpp
index dcdff5c4..a592b31f 100644
--- a/test/unit/proj_errno_string_test.cpp
+++ b/test/unit/proj_errno_string_test.cpp
@@ -29,6 +29,7 @@
#include <cstring>
#include "proj.h"
+#include "proj_config.h"
#include "gtest_include.h"