Skip to content

Commit

Permalink
allow netdata to be compiled under clion
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsaou committed Jun 11, 2018
1 parent df7179f commit b28142f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ include_directories(AFTER .)
add_definitions(-DHAVE_CONFIG_H -DCACHE_DIR="/var/cache/netdata" -DCONFIG_DIR="/etc/netdata" -DLOG_DIR="/var/log/netdata" -DPLUGINS_DIR="/usr/libexec/netdata" -DWEB_DIR="/usr/share/netdata" -DVARLIB_DIR="/var/lib/netdata")

add_executable(netdata ${NETDATA_COMMON_FILES} ${NETDATA_LINUX_FILES})
target_link_libraries (netdata m z uuid ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries (netdata m z uuid mnl netfilter_acct ${CMAKE_THREAD_LIBS_INIT})

add_executable(netdata_freebsd ${NETDATA_COMMON_FILES} ${NETDATA_FREEBSD_FILES})
target_link_libraries (netdata_freebsd m z uuid ${CMAKE_THREAD_LIBS_INIT})
Expand Down

0 comments on commit b28142f

Please sign in to comment.