diff --git a/Makefile.am b/Makefile.am index 0229a10..817b71c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,6 +16,7 @@ EXTRA_DIST = makefile.vc CMakeLists.txt autogen.sh \ cmake/contrib.cmake \ cmake/project-config-version.cmake.in \ cmake/project-config.cmake.in \ + cmake/shapelib.gta.runsettings.in \ cmake/shapelib.pc.cmake.in \ tests/CMakeLists.txt \ tests/dbf_test.cc \ diff --git a/cmake/shapelib.gta.runsettings.in b/cmake/shapelib.gta.runsettings.in new file mode 100644 index 0000000..1487c0a --- /dev/null +++ b/cmake/shapelib.gta.runsettings.in @@ -0,0 +1,10 @@ + + + + + + @PROJECT_SOURCE_DIR@ + + + + \ No newline at end of file diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index e7d5f48..3b6f29d 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -33,3 +33,9 @@ foreach(executable dbf_test sbn_test shp_test) target_compile_features(${executable} PUBLIC cxx_std_17) set_target_properties(${executable} PROPERTIES FOLDER "tests" CXX_EXTENSIONS OFF) endforeach() + +configure_file( + ${CMAKE_SOURCE_DIR}/cmake/shapelib.gta.runsettings.in + ${CMAKE_BINARY_DIR}/shapelib.gta.runsettings + @ONLY +)