remove use of uninitialized CMake var (#268)

This commit is contained in:
Dirk Thomas 2018-07-11 08:38:41 -07:00 committed by GitHub
parent 16159adfc2
commit 0ed0581c44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,6 @@ if(BUILD_TESTING)
if(TARGET test_default_state_machine) if(TARGET test_default_state_machine)
target_include_directories(test_default_state_machine PUBLIC target_include_directories(test_default_state_machine PUBLIC
${rcl_INCLUDE_DIRS} ${rcl_INCLUDE_DIRS}
${rcl_lifecycle_INCLUDE_DIRS}
) )
target_link_libraries(test_default_state_machine ${PROJECT_NAME}) target_link_libraries(test_default_state_machine ${PROJECT_NAME})
endif() endif()
@ -80,7 +79,6 @@ if(BUILD_TESTING)
if(TARGET test_multiple_instances) if(TARGET test_multiple_instances)
target_include_directories(test_multiple_instances PUBLIC target_include_directories(test_multiple_instances PUBLIC
${rcl_INCLUDE_DIRS} ${rcl_INCLUDE_DIRS}
${rcl_lifecycle_INCLUDE_DIRS}
) )
target_link_libraries(test_multiple_instances ${PROJECT_NAME}) target_link_libraries(test_multiple_instances ${PROJECT_NAME})
endif() endif()
@ -90,7 +88,6 @@ if(BUILD_TESTING)
if(TARGET test_transition_map) if(TARGET test_transition_map)
target_include_directories(test_transition_map PUBLIC target_include_directories(test_transition_map PUBLIC
${rcl_INCLUDE_DIRS} ${rcl_INCLUDE_DIRS}
${rcl_lifecycle_INCLUDE_DIRS}
) )
target_link_libraries(test_transition_map ${PROJECT_NAME}) target_link_libraries(test_transition_map ${PROJECT_NAME})
endif() endif()