mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
moving #pragma comment statements to CMakeLists (#2904)
This commit is contained in:
parent
5097dfe775
commit
57a6a9441e
@ -37,6 +37,10 @@ elseif(FREEBSD)
|
||||
ADD_OSQUERY_LINK_ADDITIONAL("elf")
|
||||
ADD_OSQUERY_LINK_ADDITIONAL("magic")
|
||||
elseif(WINDOWS)
|
||||
# Additional Windows libraries
|
||||
ADD_OSQUERY_LINK_ADDITIONAL("Advapi32.lib")
|
||||
ADD_OSQUERY_LINK_ADDITIONAL("version.lib")
|
||||
|
||||
# Windows specific tables
|
||||
file(GLOB OSQUERY_WINDOWS_TABLES "*/windows/*.cpp")
|
||||
ADD_OSQUERY_LIBRARY_ADDITIONAL(osquery_tables_windows
|
||||
|
@ -20,8 +20,6 @@
|
||||
|
||||
#include "osquery/tables/system/windows/registry.h"
|
||||
|
||||
#pragma comment(lib, "Advapi32.lib")
|
||||
|
||||
namespace osquery {
|
||||
namespace tables {
|
||||
|
||||
|
@ -17,8 +17,6 @@
|
||||
#include "osquery/filesystem/fileops.h"
|
||||
#include "osquery/tables/system/windows/registry.h"
|
||||
|
||||
#pragma comment(lib, "version.lib")
|
||||
|
||||
namespace osquery {
|
||||
namespace tables {
|
||||
|
||||
|
@ -20,8 +20,6 @@
|
||||
|
||||
#include "osquery/tables/system/windows/registry.h"
|
||||
|
||||
#pragma comment(lib, "Advapi32.lib")
|
||||
|
||||
namespace osquery {
|
||||
namespace tables {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user