|
|
@@ -5,36 +5,18 @@ if(NOT BUILD_PANDATOOL)
|
|
|
endif()
|
|
|
|
|
|
if(HAVE_OPENSSL)
|
|
|
- add_executable(apply_patch apply_patch.cxx)
|
|
|
- target_link_libraries(apply_patch panda)
|
|
|
-
|
|
|
- add_executable(build_patch build_patch.cxx)
|
|
|
- target_link_libraries(build_patch panda)
|
|
|
-
|
|
|
- add_executable(show_ddb show_ddb.cxx)
|
|
|
- target_link_libraries(show_ddb panda)
|
|
|
-
|
|
|
- add_executable(check_md5 check_md5.cxx)
|
|
|
- target_link_libraries(check_md5 panda)
|
|
|
-
|
|
|
add_executable(pencrypt pencrypt.cxx)
|
|
|
target_link_libraries(pencrypt panda)
|
|
|
|
|
|
add_executable(pdecrypt pdecrypt.cxx)
|
|
|
target_link_libraries(pdecrypt panda)
|
|
|
|
|
|
- install(TARGETS apply_patch build_patch show_ddb check_md5 pencrypt pdecrypt
|
|
|
+ install(TARGETS pencrypt pdecrypt
|
|
|
EXPORT Tools COMPONENT Tools
|
|
|
DESTINATION ${CMAKE_INSTALL_BINDIR})
|
|
|
endif()
|
|
|
|
|
|
if(HAVE_ZLIB)
|
|
|
- add_executable(check_adler check_adler.cxx)
|
|
|
- target_link_libraries(check_adler panda)
|
|
|
-
|
|
|
- add_executable(check_crc check_crc.cxx)
|
|
|
- target_link_libraries(check_crc panda)
|
|
|
-
|
|
|
add_executable(pzip pzip.cxx)
|
|
|
target_link_libraries(pzip panda)
|
|
|
|
|
|
@@ -45,7 +27,7 @@ if(HAVE_ZLIB)
|
|
|
add_executable(punzip punzip.cxx)
|
|
|
target_link_libraries(punzip panda)
|
|
|
|
|
|
- install(TARGETS check_adler check_crc pzip punzip
|
|
|
+ install(TARGETS pzip punzip
|
|
|
EXPORT Tools COMPONENT Tools
|
|
|
DESTINATION ${CMAKE_INSTALL_BINDIR})
|
|
|
endif()
|