C/Cpp: Fix some names in CMakeLists

This commit is contained in:
Jannik Beyerstedt 2020-11-05 14:08:15 +01:00
parent 7a68766392
commit aa8679545e

View file

@ -53,8 +53,8 @@ set(SOURCES
add_executable(ctestapp ${SOURCES}) add_executable(ctestapp ${SOURCES})
# add libraries # add libraries
# target_link_libraries(AftermarketV2X-UseCaseApp PRIVATE lib_json) # target_link_libraries(ctestapp PRIVATE lib_json)
# target_link_libraries(AftermarketV2X-UseCaseApp PRIVATE lib_loguru) # target_link_libraries(ctestapp PRIVATE lib_loguru)
# define which compile target should be installed with `make install` # define which compile target should be installed with `make install`
install(TARGETS ctestapp install(TARGETS ctestapp
@ -85,7 +85,7 @@ if(CLANG_TIDY)
foreach(X IN ITEMS ${TIDY_INCLUDE_DIRS}) foreach(X IN ITEMS ${TIDY_INCLUDE_DIRS})
list(APPEND TIDY_INCLUDE_DIRS_ARG "-I${X}") list(APPEND TIDY_INCLUDE_DIRS_ARG "-I${X}")
endforeach() endforeach()
# add a Make target named "tidy" (to run clang-tidy manually) # add a Make target named "tidy" (to run clang-tidy manually)
add_custom_target(tidy add_custom_target(tidy
COMMAND ${CLANG_TIDY} COMMAND ${CLANG_TIDY}