Closed themightyoarfish closed 4 years ago
I can build successfully after applying this diff:
--- a/test/unit/CMakeLists.txt
+++ b/test/unit/CMakeLists.txt
@@ -95,6 +95,7 @@ PDAL_ADD_TEST(pdal_spatial_reference_test
SpatialReferenceTest.cpp
INCLUDES
${NLOHMANN_INCLUDE_DIR}
+ ${GDAL_INCLUDE_DIR}
LINK_WITH
${GDAL_LIBRARY}
)
Not sure if thats the right way here, should I open a PR?
Sure.
Describe the bug
I have installed the
libgdal-dev
package. CMake reportsHowever,
make
fails withExpected behavior Compilation succeeds
System/installation information: 5.3.0-46-generic #38~18.04.1-Ubuntu
Is there a bug in the cmake files leading to a missing include? The file is present
it is just not
include
d properly. When running cmake with verbose makefile, I can see that the required include dir is not present for this target: