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

Updates to CXX flags and removal of cmake checks less than 3.16. #6144

Merged
merged 3 commits into from
Oct 19, 2024

Conversation

larshg
Copy link
Contributor

@larshg larshg commented Oct 1, 2024

Move check for cuda up to be able to use CUDA_VERSION_STRING.
Disable Global optimization if CUDA is version 10 or 11 as they seems to be failing with their thrust version

Update how CMAKE_CXX_FLAGS_DEFAULT is set as windows default values has changed.

@larshg larshg changed the title Updates to CXX flags. Updates to CXX flags and removal of cmake checks less than 3.16. Oct 1, 2024
@larshg larshg marked this pull request as ready for review October 2, 2024 04:00
Disable Global optimization if CUDA is version 10 or 11 as they seems to be failing with their thrust version

Update how CMAKE_CXX_FLAGS_DEFAULT is set as windows default values has changed.
CMakeLists.txt Outdated Show resolved Hide resolved
@larshg
Copy link
Contributor Author

larshg commented Oct 5, 2024

I think it already possible to change CMAKE_MSVC_CODE_LINK_OPTIMIZATION - though I don't know how. But it wasn't my intention to make PCL_USE_GLOBAL_OPTIMIZATION changeable from user side.

@larshg
Copy link
Contributor Author

larshg commented Oct 7, 2024

I think it already possible to change CMAKE_MSVC_CODE_LINK_OPTIMIZATION - though I don't know how. But it wasn't my intention to make PCL_USE_GLOBAL_OPTIMIZATION changeable from user side.

CMAKE_MSVC_CODE_LINK_OPTIMIZATION is already an cmake option that we provide 😄

@larshg larshg requested a review from mvieth October 8, 2024 07:27
Copy link
Member

@mvieth mvieth left a comment

Choose a reason for hiding this comment

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

Looks good

@larshg larshg merged commit f8bb3ef into PointCloudLibrary:master Oct 19, 2024
13 checks passed
@larshg larshg deleted the CmakeUpdates branch October 19, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants