Skip to content

Commit

Permalink
fix: fixed windows compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
ncvicchi committed Nov 29, 2024
1 parent 946b787 commit 7feaeb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/data_provider/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ include_directories(${SRC_FOLDER}/common/linuxHelper/include/)
include_directories(${SRC_FOLDER}/common/stringHelper/include/)
include_directories(${SRC_FOLDER}/common/timeHelper/include/)
include_directories(${SRC_FOLDER}/shared_modules/common/)
include_directories(${SRC_FOLDER}/common/pal/include/)

if(WIN32)
include_directories(${SRC_FOLDER}/common/time_op/include/)
Expand All @@ -113,7 +114,6 @@ if(WIN32)
endif()

get_filename_component(COMMON_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/../ ABSOLUTE)
include_directories(${COMMON_FOLDER}/pal/include)

link_directories(${SRC_FOLDER})

Expand Down Expand Up @@ -186,6 +186,7 @@ elseif(APPLE)
endif(CMAKE_SYSTEM_NAME STREQUAL "Windows")

target_link_libraries(sysinfo PUBLIC
lib
networkHelper
nlohmann_json::nlohmann_json
cjson)
Expand Down

0 comments on commit 7feaeb3

Please sign in to comment.