forked from xerub/xpwn
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
planetbeing
committed
Jul 20, 2008
1 parent
52bfb37
commit 99b6bb0
Showing
551 changed files
with
2,160 additions
and
49,875 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
INCLUDE(${PROJECT_SOURCE_DIR}/FindUSB.cmake) | ||
|
||
IF(NOT USB_FOUND) | ||
message(FATAL_ERROR "libusb is required for dfu-util!") | ||
ENDIF(NOT USB_FOUND) | ||
|
||
include_directories(${USB_INCLUDE_DIR}) | ||
link_directories(${USB_LIBRARIES}) | ||
|
||
add_executable(dfu-util dfu.c sam7dfu.c main.c) | ||
|
||
link_directories(${PROJECT_BINARY_DIR}/common ${PROJECT_BINARY_DIR}/hfs ${PROJECT_BINARY_DIR}/ipsw-patch) | ||
|
||
target_link_libraries(dfu-util xpwn) | ||
target_link_libraries(dfu-util ${USB_LIBRARIES}) | ||
|
||
install(TARGETS dfu-util DESTINATION .) |
Oops, something went wrong.