-
Notifications
You must be signed in to change notification settings - Fork 94
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
Update CMakeLists.txt #875
base: main
Are you sure you want to change the base?
Conversation
Use CMAKE_CURRENT_SOURCE_DIR when looking for tag, this will prevent potential problems if the project is grabbed by fetchContent in other project
Can one of the admins verify this patch? |
Hi, Thanks for the contribution and sorry for the very delayed response. I suppose the discrepancy using Similar using Care to weigh in @pinkwah ? |
Jenkins test this please |
Thanks for your contribution @billcxx! It seems that the CMake code styling check failed. Would you mind running |
I changed all cmake_source_dir and cmake_binary_dir.
Then also format the CMakeLists.txt with cmake-format.
|
Use CMAKE_CURRENT_SOURCE_DIR when looking for tag, this will prevent potential problems if the project is grabbed by fetchContent in other project
Issue
Resolves #874
Approach
Should use CMAKE_CURRENT_SOURCE_DIR instead of CMAKE_SOURCE_DIR when looking for tags