early-access version 2853
This commit is contained in:
31
externals/vcpkg/ports/log4cpp/fix-includepath.patch
vendored
Executable file
31
externals/vcpkg/ports/log4cpp/fix-includepath.patch
vendored
Executable file
@@ -0,0 +1,31 @@
|
||||
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}
|
Reference in New Issue
Block a user