diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-02-24 12:48:23 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-02-24 12:48:23 +0000 |
| commit | 9efad435090f5871b888041f2cc1f855aca0486e (patch) | |
| tree | 730c0f668b3b94bb078209c92e075b0f43f91664 /tests/unit | |
| parent | 33d8f08964ca48183241d680ccd692378e25cc70 (diff) | |
[trunk] Prefer the new style cmake: add_test command
Fixes issues 258
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt index d6bca7ad..a22d00a1 100644 --- a/tests/unit/CMakeLists.txt +++ b/tests/unit/CMakeLists.txt @@ -13,6 +13,6 @@ target_link_libraries(testempty0 openjp2) target_link_libraries(testempty1 openjp2) target_link_libraries(testempty2 openjp2) -add_test(testempty0 ${EXECUTABLE_OUTPUT_PATH}/testempty0) -add_test(testempty1 ${EXECUTABLE_OUTPUT_PATH}/testempty1) -add_test(testempty2 ${EXECUTABLE_OUTPUT_PATH}/testempty2) +add_test(NAME testempty0 COMMAND testempty0) +add_test(NAME testempty1 COMMAND testempty1) +add_test(NAME testempty2 COMMAND testempty2) |
