diff options
| author | Julien Malik <julien.malik@paraiso.me> | 2011-11-27 22:27:50 +0000 |
|---|---|---|
| committer | Julien Malik <julien.malik@paraiso.me> | 2011-11-27 22:27:50 +0000 |
| commit | 27ba604ad793ea14bbaa2ec53e19d019b5941034 (patch) | |
| tree | b0b800c604e45d53d51b33b569cb670a5af51842 /tests | |
| parent | 769982d058d8af8b2b4d5fa24bda35440bc0cde5 (diff) | |
[trunk] search for kdu_expand in a more cmake-compliant way
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/nonregression/CMakeLists.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/nonregression/CMakeLists.txt b/tests/nonregression/CMakeLists.txt index ec100e42..fbadd615 100644 --- a/tests/nonregression/CMakeLists.txt +++ b/tests/nonregression/CMakeLists.txt @@ -17,11 +17,10 @@ CONFIGURE_FILE("opj_ref_decode_cmd.sh.in" "${CMAKE_CURRENT_BINARY_DIR}/opj_ref_decode_cmd.sh" @ONLY) ENDIF (NOT WIN32) - -STRING(COMPARE EQUAL ${REF_DECODER_BIN_PATH} "NOTFOUND" REF_DECODER_NOTFOUND) -IF (REF_DECODER_NOTFOUND) - MESSAGE(STATUS "REF_DECODER_BIN_PATH not found, if you want all the encoding tests suite please provide a regular path") -ENDIF (REF_DECODER_NOTFOUND) + +IF (NOT REF_DECODER_BIN_PATH) + MESSAGE(STATUS "REF_DECODER_BIN_PATH not set, if you want all the encoding tests suite provide the path to kdu_expand") +ENDIF (NOT REF_DECODER_BIN_PATH) |
