MockCoordTrans is a Release 2 GROUP3 target: a header-only static library defined in Lts/Common/CommonUnitTestsPlaceholder/mocks. As a header-only lib it has no source file as a ninja edge input, so the build-closure keep set did not pull its dir in and the prune removed its CMakeLists (ninja: unknown target MockCoordTrans). Restore the dir and its add_subdirectory; the smoke tests inside stay behind their default-OFF options.
6 lines
260 B
CMake
6 lines
260 B
CMake
add_library(MockCoordTrans STATIC MockCoordTrans.h)
|
|
target_include_directories(MockCoordTrans PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
# Export header-only semantics by providing an interface target
|
|
add_library(MockCoordTrans::MockCoordTrans ALIAS MockCoordTrans)
|