00790f
diff --git a/CMakeLists.txt b/CMakeLists.txt
987ee2
index 2bc3458..46b9ee6 100644
00790f
--- a/CMakeLists.txt
00790f
+++ b/CMakeLists.txt
987ee2
@@ -1328,7 +1328,7 @@ set(EXE ${CMAKE_EXECUTABLE_SUFFIX})
00790f
 
00790f
 if(WITH_TURBOJPEG)
00790f
   if(ENABLE_SHARED)
00790f
-    install(TARGETS turbojpeg tjbench
00790f
+    install(TARGETS turbojpeg
00790f
       ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
00790f
       LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
00790f
       RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
987ee2
@@ -1341,15 +1341,6 @@ if(WITH_TURBOJPEG)
00790f
   if(ENABLE_STATIC)
00790f
     install(TARGETS turbojpeg-static ARCHIVE
00790f
       DESTINATION ${CMAKE_INSTALL_LIBDIR})
00790f
-    if(NOT ENABLE_SHARED)
987ee2
-      if(MSVC_IDE)
987ee2
-        set(DIR "${CMAKE_CURRENT_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}")
987ee2
-      else()
987ee2
-        set(DIR ${CMAKE_CURRENT_BINARY_DIR})
987ee2
-      endif()
987ee2
-      install(PROGRAMS ${DIR}/tjbench-static${EXE}
00790f
-        DESTINATION ${CMAKE_INSTALL_BINDIR} RENAME tjbench${EXE})
00790f
-    endif()
00790f
   endif()
00790f
   install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/turbojpeg.h
00790f
     DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
987ee2
@@ -1374,18 +1365,6 @@ endif()
00790f
 
00790f
 install(TARGETS rdjpgcom wrjpgcom RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
00790f
 
00790f
-install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/README.ijg
00790f
-  ${CMAKE_CURRENT_SOURCE_DIR}/README.md ${CMAKE_CURRENT_SOURCE_DIR}/example.txt
00790f
-  ${CMAKE_CURRENT_SOURCE_DIR}/tjexample.c
00790f
-  ${CMAKE_CURRENT_SOURCE_DIR}/libjpeg.txt
00790f
-  ${CMAKE_CURRENT_SOURCE_DIR}/structure.txt
00790f
-  ${CMAKE_CURRENT_SOURCE_DIR}/usage.txt ${CMAKE_CURRENT_SOURCE_DIR}/wizard.txt
00790f
-  ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md DESTINATION ${CMAKE_INSTALL_DOCDIR})
00790f
-if(WITH_JAVA)
00790f
-  install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/java/TJExample.java
00790f
-    DESTINATION ${CMAKE_INSTALL_DOCDIR})
00790f
-endif()
00790f
-
00790f
 if(UNIX OR MINGW)
00790f
   install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/cjpeg.1
00790f
     ${CMAKE_CURRENT_SOURCE_DIR}/djpeg.1 ${CMAKE_CURRENT_SOURCE_DIR}/jpegtran.1
987ee2
@@ -1399,7 +1378,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pkgscripts/libjpeg.pc
00790f
 
00790f
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/jconfig.h
00790f
   ${CMAKE_CURRENT_SOURCE_DIR}/jerror.h ${CMAKE_CURRENT_SOURCE_DIR}/jmorecfg.h
00790f
-  ${CMAKE_CURRENT_SOURCE_DIR}/jpeglib.h
00790f
+  ${CMAKE_CURRENT_SOURCE_DIR}/jpeglib.h ${CMAKE_CURRENT_SOURCE_DIR}/jpegint.h
00790f
   DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
00790f
 
00790f
 include(cmakescripts/BuildPackages.cmake)