-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[RF][CMake] Some fixes to RooFit CMake files #15664
Conversation
The targets are using the headers in `res` themselves when compiling: it's not only an interface dependency when compiling against the target. It worked before, but like this it's more precise and the configuration is more robust. Will help in particular when building RooFit standalone.
Add some missing dependencies for test executables.
Test Results 12 files 12 suites 2d 16h 57m 18s ⏱️ Results for commit 8f75740. |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
1 similar comment
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
@@ -16,7 +16,7 @@ if(cuda) | |||
target_compile_definitions(RooBatchCompute PUBLIC ROOFIT_CUDA) | |||
endif() | |||
|
|||
target_include_directories(RooBatchCompute INTERFACE $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/res>) | |||
target_include_directories(RooBatchCompute PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/res>) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why isn't it PRIVATE
?
See the commit descriptions.
Should be also backported to 6.32.
Some of the changes are also part of #8709.