yuzu/externals/vcpkg/ports/log4cpp/fix-includepath.patch

32 lines
896 B
Diff
Raw Normal View History

2022-07-23 05:01:36 +04:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index beace9e..c8264ec 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -136,7 +136,7 @@ SET(prefix "${CMAKE_INSTALL_PREFIX}")
SET(exec_prefix "\${prefix}")
SET(log4cpp_cflags "")
SET(log4cpp_libs "${LOG4CPP_LIBS}")
-SET(includedir "\${prefix}/include/orocos")
+SET(includedir "\${prefix}/include")
SET(libdir "\${prefix}/lib")
CONFIGURE_FILE(log4cpp.pc.in ${CMAKE_CURRENT_BINARY_DIR}/orocos-log4cpp.pc @ONLY)
@@ -147,7 +147,7 @@ INSTALL(
INSTALL (
DIRECTORY include/log4cpp
- DESTINATION include/orocos
+ DESTINATION include
PATTERN "config.h.in" EXCLUDE
PATTERN ".svn" EXCLUDE
PATTERN "*.am" EXCLUDE
@@ -157,7 +157,7 @@ INSTALL (
INSTALL (
FILES ${CMAKE_CURRENT_BINARY_DIR}/include/log4cpp/config.h
- DESTINATION include/orocos/log4cpp
+ DESTINATION include/log4cpp
)
INSTALL(TARGETS ${LOG4CPP_LIBRARY_NAME}