Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Commit

Permalink
Install log4tango include files under <prefix>/include/tango/log4tang…
Browse files Browse the repository at this point in the history
…o... (#517)

instead of <prefix>/include/log4tango directory since log4tango is now part of
tango library.
This also fixes an issue with the current tango.pc Cflags because <prefix>/include
directory is not listed in the list of include directories and it no longer needs to now.
Thanks @taurel for reporting this issue.
  • Loading branch information
bourtemb authored and Ingvord committed Mar 1, 2019
1 parent 16eb118 commit 3723fa9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions log4tango/include/log4tango/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ set(HEADER_FILES
add_subdirectory(threading)

install(FILES ${HEADER_FILES}
DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}/log4tango)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}/log4tango)
#TODO if windows 32 install config-win32.h
DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}/tango/log4tango)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}/tango/log4tango)
#TODO if windows 32 install config-win32.h
2 changes: 1 addition & 1 deletion log4tango/include/log4tango/threading/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ set(HEADER_FILES
Threading.hh)

install(FILES ${HEADER_FILES}
DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}/log4tango/threading)
DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}/tango/log4tango/threading)

0 comments on commit 3723fa9

Please sign in to comment.