Stop linking Boost directly from the projection test

The test target listed Boost::system and Boost::thread while this package
never calls find_package(Boost). The imported targets only existed because
another subdirectory happened to be configured first, so CMake passed the
literal strings through and the link failed with "cannot find -lBoost::system"
whenever that ordering did not hold.

The test does not use Boost itself; whatever it needs arrives through the
library it links. Dropping the two entries removes the ordering dependency.
This commit is contained in:
2026-08-13 15:02:06 +07:00
parent 7e70a03bc0
commit 526c00a817

View File

@@ -179,7 +179,6 @@ if(BUILD_TESTING)
${PROJECT_NAME}
GTest::GTest
GTest::Main
Boost::system Boost::thread
${TF3_LIBRARY}
)
add_test(NAME ${PROJECT_NAME}_test COMMAND ${PROJECT_NAME}_test)