diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 2cff890c..ff91f78b 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -204,10 +204,12 @@ add_test(NAME "rational_precision2double" COMMAND "rational_precision2double") endif() +if(NOT BUILD_SHARED_LIBS) add_executable(custom_dir_EXIF_231 custom_dir_EXIF_231.c) target_link_libraries(custom_dir_EXIF_231 tiff port) add_test(NAME "custom_dir_EXIF_231" COMMAND "custom_dir_EXIF_231") +endif() add_executable(defer_strile_loading defer_strile_loading.c) target_link_libraries(defer_strile_loading tiff port)