summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
index 500f9dab10..9797d020d3 100644
--- a/utils/CMakeLists.txt
+++ b/utils/CMakeLists.txt
@@ -104,6 +104,13 @@ endif()
104target_compile_definitions(ipodpatcher PUBLIC RBUTIL _LARGEFILE64_SOURCE) 104target_compile_definitions(ipodpatcher PUBLIC RBUTIL _LARGEFILE64_SOURCE)
105target_include_directories(ipodpatcher PUBLIC ${CMAKE_CURRENT_LIST_DIR}/ipodpatcher) 105target_include_directories(ipodpatcher PUBLIC ${CMAKE_CURRENT_LIST_DIR}/ipodpatcher)
106 106
107add_executable(sansapatcher-bin
108 sansapatcher/main.c
109 )
110target_link_libraries(sansapatcher-bin sansapatcher)
111target_compile_definitions(sansapatcher-bin PRIVATE VERSION="none")
112set_target_properties(sansapatcher-bin PROPERTIES OUTPUT_NAME sansapatcher)
113
107add_library(sansapatcher 114add_library(sansapatcher
108 sansapatcher/parttypes.h 115 sansapatcher/parttypes.h
109 sansapatcher/sansaio.h 116 sansapatcher/sansaio.h