build: Bundle fluent-bit-win32.conf for Windows platforms
This patch is a minor follow-up for applying suggestions
by Jorge Niedbalski.
Since this file is intended for Windows platforms, we don't have to
include it in Unix packages
@@ -468,17 +468,19 @@ if(FLB_BINARY)
# FIXME: should we support Sysv init script ?
endif()
+ if(FLB_SYSTEM_WINDOWS)
install(FILES
- "${PROJECT_SOURCE_DIR}/conf/fluent-bit.conf"
+ "${PROJECT_SOURCE_DIR}/conf/fluent-bit-win32.conf"
DESTINATION ${FLB_INSTALL_CONFDIR}
COMPONENT binary
RENAME "${FLB_OUT_NAME}.conf")
-
+ else()
install(FILES
- "${PROJECT_SOURCE_DIR}/conf/fluent-bit-win32.conf"
+ "${PROJECT_SOURCE_DIR}/conf/fluent-bit.conf"
DESTINATION ${FLB_INSTALL_CONFDIR}
COMPONENT binary
- RENAME "${FLB_OUT_NAME}-win32.conf")
+ RENAME "${FLB_OUT_NAME}.conf")
+ endif()
install(FILES
"${PROJECT_SOURCE_DIR}/conf/parsers.conf"
