Upload new patch.
This commit is contained in:
parent
e816cc7ed0
commit
b5c56298ea
30
yaml-cpp-cmake.patch
Normal file
30
yaml-cpp-cmake.patch
Normal file
@ -0,0 +1,30 @@
|
||||
Index: yaml-cpp-yaml-cpp-0.7.0/CMakeLists.txt
|
||||
===================================================================
|
||||
--- yaml-cpp-yaml-cpp-0.7.0.orig/CMakeLists.txt
|
||||
+++ yaml-cpp-yaml-cpp-0.7.0/CMakeLists.txt
|
||||
@@ -130,7 +130,7 @@ set_target_properties(yaml-cpp PROPERTIE
|
||||
configure_package_config_file(
|
||||
"${PROJECT_SOURCE_DIR}/yaml-cpp-config.cmake.in"
|
||||
"${PROJECT_BINARY_DIR}/yaml-cpp-config.cmake"
|
||||
- INSTALL_DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/yaml-cpp")
|
||||
+ INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/yaml-cpp")
|
||||
|
||||
write_basic_package_version_file(
|
||||
"${PROJECT_BINARY_DIR}/yaml-cpp-config-version.cmake"
|
||||
@@ -148,13 +148,13 @@ if (YAML_CPP_INSTALL)
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
||||
FILES_MATCHING PATTERN "*.h")
|
||||
install(EXPORT yaml-cpp-targets
|
||||
- DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/yaml-cpp")
|
||||
+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/yaml-cpp")
|
||||
install(FILES
|
||||
"${PROJECT_BINARY_DIR}/yaml-cpp-config.cmake"
|
||||
"${PROJECT_BINARY_DIR}/yaml-cpp-config-version.cmake"
|
||||
- DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/yaml-cpp")
|
||||
+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/yaml-cpp")
|
||||
install(FILES "${PROJECT_BINARY_DIR}/yaml-cpp.pc"
|
||||
- DESTINATION ${CMAKE_INSTALL_DATADIR}/pkgconfig)
|
||||
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
||||
endif()
|
||||
|
||||
if(YAML_CPP_BUILD_TESTS)
|
Loading…
Reference in New Issue
Block a user