mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02:00
fix(build): maybe link to these libraries on linux?
Revert "fix(build): maybe link to these libraries on linux?" This reverts commit 7313405a369f0acca8aaec74e4a40b50d824ee4b. Update CMakeLists.txt
This commit is contained in:
1 parent
8c48361d29
commit
9072f97fb1
1 file changed
+8
-1
+8
-1
@@ -369,6 +369,13 @@ if(WITH_STATIC)
|
||||
# =========================
|
||||
# libirecovery
|
||||
# =========================
|
||||
|
||||
if(LINUX)
|
||||
set(LIBIRECOVERY_LIBS
|
||||
LIBS="-lncurses"
|
||||
)
|
||||
endif()
|
||||
|
||||
ExternalProject_Add(libirecovery_ep
|
||||
GIT_REPOSITORY https://github.com/libimobiledevice/libirecovery.git
|
||||
GIT_TAG 7ce02c347b7c26e59498e6af31c9da51018d0fa1
|
||||
@@ -382,7 +389,7 @@ if(WITH_STATIC)
|
||||
--prefix=${DEPS_PREFIX}
|
||||
${IMD_AUTOTOOLS_ARGS}
|
||||
|
||||
BUILD_COMMAND make -j
|
||||
BUILD_COMMAND make -j ${LIBIRECOVERY_LIBS}
|
||||
INSTALL_COMMAND make install
|
||||
BUILD_IN_SOURCE 1
|
||||
|
||||
|
||||
Reference in new issue
Block a user