Changeset 14661


Ignore:
Timestamp:
Jan 4, 2016, 7:50:32 PM (6 years ago)
Author:
mikedld
Message:

Add tests in such a way that target name is expanded (CMake)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/CMakeLists.txt

    r14651 r14661  
    265265        add_executable(${TP} ${T}-test.c ${${T}-test_ADD_SOURCES})
    266266        target_link_libraries(${TP} ${TR_NAME} ${TR_NAME}-test)
    267         add_test(${T} ${TP})
     267        add_test(NAME ${T} COMMAND ${TP})
    268268        set_property(TARGET ${TP} PROPERTY FOLDER "UnitTests")
    269269    endforeach()
Note: See TracChangeset for help on using the changeset viewer.