[F] Fix cmake files style

This commit is contained in:
seleznevae 2019-09-15 11:27:50 +03:00
parent 5ee379ae06
commit bcb2e16c2d
2 changed files with 4 additions and 4 deletions

View File

@ -253,7 +253,7 @@ endif()
enable_testing() enable_testing()
add_test(NAME ${PROJECT_NAME}_ex COMMAND ${PROJECT_NAME}_ex) add_test(NAME ${PROJECT_NAME}_ex COMMAND ${PROJECT_NAME}_ex)
add_test(NAME ${PROJECT_NAME}_ex_print_styles COMMAND ${PROJECT_NAME}_ex_print_styles) add_test(NAME ${PROJECT_NAME}_print_styles COMMAND ${PROJECT_NAME}_print_styles)
add_test(NAME ${PROJECT_NAME}_ex_cpp COMMAND ${PROJECT_NAME}_ex_cpp) add_test(NAME ${PROJECT_NAME}_ex_cpp COMMAND ${PROJECT_NAME}_ex_cpp)
add_test(NAME ${PROJECT_NAME}_test COMMAND ${PROJECT_NAME}_test) add_test(NAME ${PROJECT_NAME}_test COMMAND ${PROJECT_NAME}_test)
add_test(NAME ${PROJECT_NAME}_test_cpp COMMAND ${PROJECT_NAME}_test_cpp) add_test(NAME ${PROJECT_NAME}_test_cpp COMMAND ${PROJECT_NAME}_test_cpp)

View File

@ -4,9 +4,9 @@ add_executable(${PROJECT_NAME}_ex
target_link_libraries(${PROJECT_NAME}_ex target_link_libraries(${PROJECT_NAME}_ex
fort) fort)
add_executable(${PROJECT_NAME}_ex_print_styles add_executable(${PROJECT_NAME}_print_styles
print_styles.c) print_styles.c)
target_link_libraries(${PROJECT_NAME}_ex_print_styles target_link_libraries(${PROJECT_NAME}_print_styles
fort) fort)
add_executable(${PROJECT_NAME}_ex_cpp add_executable(${PROJECT_NAME}_ex_cpp
@ -16,6 +16,6 @@ target_link_libraries(${PROJECT_NAME}_ex_cpp
if(DEFINED FORT_LINK_LIBRARIES) if(DEFINED FORT_LINK_LIBRARIES)
target_link_libraries(${PROJECT_NAME}_ex "${FORT_LINK_LIBRARIES}") target_link_libraries(${PROJECT_NAME}_ex "${FORT_LINK_LIBRARIES}")
target_link_libraries(${PROJECT_NAME}_ex_print_styles "${FORT_LINK_LIBRARIES}") target_link_libraries(${PROJECT_NAME}_print_styles "${FORT_LINK_LIBRARIES}")
target_link_libraries(${PROJECT_NAME}_ex_cpp "${FORT_LINK_LIBRARIES}") target_link_libraries(${PROJECT_NAME}_ex_cpp "${FORT_LINK_LIBRARIES}")
endif() endif()