Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: link system libraries #207

Merged

Conversation

timblechmann
Copy link
Contributor

if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
target_link_libraries(boost_interprocess INTERFACE rt)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows")
target_link_libraries(boost_interprocess INTERFACE ole32 oleaut32 psapi advapi32)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

copied from test/Jamfile.v2

@igaztanaga igaztanaga merged commit 4a1f284 into boostorg:develop Jul 6, 2024
1 of 21 checks passed
@igaztanaga
Copy link
Member

Many thanks!

igaztanaga added a commit that referenced this pull request Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants