Skip to content

Commit

Permalink
Avoid linking against thirdparty_augeas on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Smjert committed Aug 16, 2019
1 parent 270f6a5 commit a88e558
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion osquery/tables/system/CMakeLists.txt
Expand Up @@ -222,13 +222,18 @@ function(generateOsqueryTablesSystemSystemtable)
osquery_utils_system_systemutils
osquery_utils_system_time
osquery_utils_system_uptime
thirdparty_augeas
thirdparty_boost
thirdparty_libmagic
thirdparty_libxml2
osquery_rows_processes_header
)

if(NOT DEFINED PLATFORM_WINDOWS)
target_link_libraries(osquery_tables_system_systemtable PUBLIC
thirdparty_augeas
)
endif()

if(DEFINED PLATFORM_LINUX)
target_link_libraries(osquery_tables_system_systemtable PUBLIC
thirdparty_libdevmapper
Expand Down

0 comments on commit a88e558

Please sign in to comment.