We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70357ce commit 1549ff1Copy full SHA for 1549ff1
CMakeLists.txt
@@ -205,7 +205,7 @@ if (SPDLOG_INSTALL)
205
#---------------------------------------------------------------------------------------
206
get_target_property(PKG_CONFIG_DEFINES spdlog INTERFACE_COMPILE_DEFINITIONS)
207
string(REPLACE ";" " -D" PKG_CONFIG_DEFINES "${PKG_CONFIG_DEFINES}")
208
- string(PREPEND PKG_CONFIG_DEFINES "-D")
+ string(CONCAT PKG_CONFIG_DEFINES "-D" "${PKG_CONFIG_DEFINES}")
209
configure_file("cmake/${PROJECT_NAME}.pc.in" "${pkg_config}" @ONLY)
210
install(FILES "${pkg_config}" DESTINATION "${pkgconfig_install_dir}")
211
0 commit comments