diff --git a/owlps-listener/CMakeLists.txt b/owlps-listener/CMakeLists.txt index 20a4c68..9e6c180 100644 --- a/owlps-listener/CMakeLists.txt +++ b/owlps-listener/CMakeLists.txt @@ -23,10 +23,6 @@ option(OWLPS_LISTENER_KEEPS_MONITOR "Enable -K (keep monitor mode on); requires POSIX threads support" off) -configure_file( - owlps-listener-config.h.in - "${GENERATED_INCLUDE}/owlps-listener-config.h") - ### Linked libraries ### @@ -79,6 +75,13 @@ if (OWLPS_LISTENER_KEEPS_MONITOR) endif() +### Generate configuration header ### + +configure_file( + owlps-listener-config.h.in + "${GENERATED_INCLUDE}/owlps-listener-config.h") + + ### Targets ### add_executable(owlps-listenerd owlps-listenerd.c)