Remove condition to fix library link problem. This makes
the build not happens at all if you don't have the J1939
CAN Kernel module isn't installed.
Change-Id: I52f7bf2d6806e33505450c809a5ce7c463d91ab9
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
# limitations under the License.
###########################################################################
-PROJECT_TARGET_ADD(agl-vcar-signals)
-
- # Define targets
- ADD_LIBRARY(${TARGET_NAME} MODULE ${TARGET_NAME}.cpp)
-
- # Alsa Plugin properties
- SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
- LABELS "PLUGIN"
- PREFIX ""
- SUFFIX ".ctlso"
- OUTPUT_NAME ${TARGET_NAME}
- )
-
- target_include_directories(${TARGET_NAME}
- PRIVATE "../low-can-binding")
-
- # Library dependencies (include updates automatically)
- TARGET_LINK_LIBRARIES(${TARGET_NAME}
- low-can
- openxc-message-format
- uds-c
- isotp-c
- bitfield-c
- afb-helpers
- ${link_libraries})
-
-if(WITH_FEATURE_J1939)
PROJECT_TARGET_ADD(default-signals)
# Define targets
bitfield-c
afb-helpers
${link_libraries})
-endif()