Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Added dependency on Logger and OSDependent libraries #239

Merged

Conversation

gshimansky
Copy link
Contributor

Added explicit dependencies from Logger and OSDependent libraries. They are required on windows because unresolved symbols are not allowed.

@@ -1 +1,4 @@
add_library(OSDependent ${OSDEPENDENT_SOURCE_FILES})
set_target_properties(OSDependent PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/..)

target_link_libraries(OSDependent Logger)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO, Logger should be a private dependency here as well as in the device managers. What made you decide otherwise?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't made any decisions and simply copied these lines from Unix/CMakeLists.txt.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it doesn't hurt too much, we'll deal with it separately.

@@ -1 +1,4 @@
add_library(OSDependent ${OSDEPENDENT_SOURCE_FILES})
set_target_properties(OSDependent PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/..)

target_link_libraries(OSDependent Logger)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it doesn't hurt too much, we'll deal with it separately.

@kurapov-peter kurapov-peter merged commit 4eef4ca into intel:main Mar 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants