yuzu/externals/vcpkg/ports/log4cpp/fix-includepath.patch
2022-07-23 03:01:36 +02:00

32 lines
896 B
Diff
Executable File

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}