- Wrap FIND_PACKAGE(RTI) in IF(NOT TARGET RTI::nddsc) condition - Prevents placeholder targets from overwriting manually configured RTI:: targets - Manual configuration creates RTI:: targets when BUILD_RTI=ON and RTI found - FIND_PACKAGE only called as fallback when manual config doesn't create targets Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Entire-Checkpoint: 01M1CT3XSQXCX9RQR6WM9DG3GH
6 lines
241 B
CMake
6 lines
241 B
CMake
if(EXISTS "/repo/tmp/build-test-webengine/tests/migration_tests[1]_tests.cmake")
|
|
include("/repo/tmp/build-test-webengine/tests/migration_tests[1]_tests.cmake")
|
|
else()
|
|
add_test(migration_tests_NOT_BUILT migration_tests_NOT_BUILT)
|
|
endif()
|