diff options
author | Christian Beier <dontmind@freeshell.org> | 2017-02-21 18:10:08 +0100 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2017-02-21 18:10:08 +0100 |
commit | 417eb7590b8bd9ff68ba4615f8dbb3c4ef1c3e77 (patch) | |
tree | a9152b8db7dc51c8c387003935ff4f1edfa80e14 | |
parent | a2e124d87a2c700145f4ae97eb59f571905e0a02 (diff) | |
download | libtdevnc-417eb7590b8bd9ff68ba4615f8dbb3c4ef1c3e77.tar.gz libtdevnc-417eb7590b8bd9ff68ba4615f8dbb3c4ef1c3e77.zip |
CMake: only add tjunittest if turbojpeg found
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f1e2512..cf428e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -527,7 +527,9 @@ if(FOUND_LIBJPEG_TURBO) endif(FOUND_LIBJPEG_TURBO) add_test(NAME cargs COMMAND test_cargstest) -add_test(NAME turbojpeg COMMAND test_tjunittest) +if(FOUND_LIBJPEG_TURBO) + add_test(NAME turbojpeg COMMAND test_tjunittest) +endif(FOUND_LIBJPEG_TURBO) |