diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-02-26 08:34:28 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2014-02-26 08:34:28 +0000 |
| commit | d2be8c5d214f7dc28cb6a951ab1e8b2d2280499d (patch) | |
| tree | 573f8c38cb596ea56f0570c7c07e95ad95cfa089 /tests/unit | |
| parent | b42f76cb7f1fefa77d2a38544f904259caf23f26 (diff) | |
[1.5] Use new add_test signature to handle cross compilation and execution using wine
Diffstat (limited to 'tests/unit')
| -rw-r--r-- | tests/unit/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt index 478eb79d..e45b991d 100644 --- a/tests/unit/CMakeLists.txt +++ b/tests/unit/CMakeLists.txt @@ -5,5 +5,5 @@ add_executable(testempty2 testempty2.c) target_link_libraries(testempty1 openjpeg) target_link_libraries(testempty2 openjpeg) -add_test(testempty1 ${EXECUTABLE_OUTPUT_PATH}/testempty1) -add_test(testempty2 ${EXECUTABLE_OUTPUT_PATH}/testempty2) +add_test(NAME testempty1 COMMAND testempty1) +add_test(NAME testempty2 COMMAND testempty2) |
