In CMakeLists.txt,with install cmd:
install(FILES tlog.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tlog.h)
will install tlog.h to:/usr/include/tlog.h/tlog.h,is this expected behavior?
If you just want to install tlog.h to /usr/incldue, it should be like this:
install(FILES tlog.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})