windows-amd64-prebuilt-libr.../vcpkg/ports/log4cpp/fix-includepath.patch
2020-10-10 14:36:42 +02:00

32 lines
896 B
Diff

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}