We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4aa3135 + 7e096e3 commit 70961f6Copy full SHA for 70961f6
gdal.cmake
@@ -553,6 +553,11 @@ install(
553
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
554
FRAMEWORK DESTINATION "${FRAMEWORK_DESTINATION}")
555
556
+# Generate targets file for importing directly from GDAL build tree
557
+export(TARGETS ${GDAL_LIB_TARGET_NAME}
558
+ NAMESPACE GDAL::
559
+ FILE "GDAL-targets.cmake")
560
+
561
if (NOT GDAL_ENABLE_MACOSX_FRAMEWORK)
562
# Generate GdalConfig.cmake and GdalConfigVersion.cmake
563
install(
0 commit comments