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 eb34f71 + bff3728 commit b9d3eadCopy full SHA for b9d3ead
CMakeLists.txt
@@ -20,6 +20,9 @@ set(plutosvg_sources
20
add_library(plutosvg ${plutosvg_sources})
21
add_library(plutosvg::plutosvg ALIAS plutosvg)
22
23
+include(GNUInstallDirs)
24
+include(CMakePackageConfigHelpers)
25
+
26
set_target_properties(plutosvg PROPERTIES
27
SOVERSION ${PLUTOSVG_VERSION_MAJOR}
28
C_VISIBILITY_PRESET hidden
@@ -55,9 +58,6 @@ if(PLUTOSVG_ENABLE_FREETYPE)
55
58
target_link_libraries(plutosvg PUBLIC Freetype::Freetype)
56
59
endif()
57
60
-include(GNUInstallDirs)
-include(CMakePackageConfigHelpers)
-
61
configure_package_config_file(
62
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/plutosvgConfig.cmake.in"
63
"${CMAKE_CURRENT_BINARY_DIR}/plutosvgConfig.cmake"
0 commit comments