parameters lib always depend on prebuild_targets

This commit is contained in:
Daniel Agar 2018-08-12 10:25:24 -04:00 committed by GitHub
parent 6b8ea8e543
commit 7ceb79d606
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,6 @@ if (NOT "${CONFIG}" MATCHES "px4io")
px4_parameters.h
px4_parameters_public.h
)
add_dependencies(parameters prebuild_targets)
if ("${CONFIG_SHMEM}" STREQUAL "1")
target_link_libraries(parameters PRIVATE px4_layer)
@ -134,6 +133,7 @@ if (NOT "${CONFIG}" MATCHES "px4io")
else()
add_library(parameters ${PX4_SOURCE_DIR}/src/platforms/empty.c)
endif()
add_dependencies(parameters prebuild_targets)
if(${OS} STREQUAL "nuttx")
target_link_libraries(parameters PRIVATE flashparams)