2020-06-06 03:10:36 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2020-07-31 13:38:32 +08:00
|
|
|
@@ -1369,13 +1369,13 @@
|
|
|
|
###############################################################################
|
2020-06-06 03:10:36 +08:00
|
|
|
|
|
|
|
set(EXE ${CMAKE_EXECUTABLE_SUFFIX})
|
|
|
|
|
|
|
|
if(WITH_TURBOJPEG)
|
|
|
|
if(ENABLE_SHARED)
|
2020-07-31 13:38:32 +08:00
|
|
|
- install(TARGETS turbojpeg tjbench
|
|
|
|
+ install(TARGETS turbojpeg #tjbench
|
|
|
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
|
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
|
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
2020-06-06 03:10:36 +08:00
|
|
|
if(NOT CMAKE_VERSION VERSION_LESS "3.1" AND MSVC AND
|
|
|
|
CMAKE_C_LINKER_SUPPORTS_PDB)
|
|
|
|
install(FILES "$<TARGET_PDB_FILE:turbojpeg>"
|
2020-07-31 13:38:32 +08:00
|
|
|
@@ -1413,13 +1413,13 @@
|
|
|
|
DESTINATION ${CMAKE_INSTALL_BINDIR} RENAME djpeg${EXE})
|
2020-06-06 03:10:36 +08:00
|
|
|
install(PROGRAMS ${DIR}/jpegtran-static${EXE}
|
2020-07-31 13:38:32 +08:00
|
|
|
DESTINATION ${CMAKE_INSTALL_BINDIR} RENAME jpegtran${EXE})
|
2020-06-06 03:10:36 +08:00
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
|
|
|
|
-install(TARGETS rdjpgcom wrjpgcom RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
2020-07-31 13:38:32 +08:00
|
|
|
+#install(TARGETS rdjpgcom wrjpgcom RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
2020-06-06 03:10:36 +08:00
|
|
|
|
|
|
|
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/README.ijg
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/README.md ${CMAKE_CURRENT_SOURCE_DIR}/example.txt
|
2020-07-31 13:38:32 +08:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/tjexample.c
|
2020-06-06 03:10:36 +08:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/libjpeg.txt
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/structure.txt
|