chore(cmake): skip unit tests that require not-yet-migrated internal targets (guard by TARGET LtsElevation)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
ae2c674b81
commit
c7abae2727
2 files changed
+2
-2
No files matched your search
@@ -10,7 +10,7 @@ SET(UnitTestSources
|
||||
lts_coordinate_unit_test.h
|
||||
)
|
||||
|
||||
IF(BUILD_TESTING)
|
||||
IF(BUILD_TESTING AND TARGET LtsElevation)
|
||||
ADD_EXECUTABLE(commonUnitTestCoordinate ${LinkedSources} ${UnitTestSources} )
|
||||
|
||||
TARGET_LINK_LIBRARIES(commonUnitTestCoordinate
|
||||
|
||||
@@ -10,7 +10,7 @@ SET(UnitTestSources
|
||||
elevation_unit_test.h
|
||||
)
|
||||
|
||||
IF(BUILD_TESTING)
|
||||
IF(BUILD_TESTING AND TARGET LtsElevation)
|
||||
ADD_EXECUTABLE(commenUnitTestElevation ${LinkedSources} ${UnitTestSources} )
|
||||
|
||||
TARGET_LINK_LIBRARIES(commenUnitTestElevation
|
||||
|
||||
Reference in new issue
Block a user