mirror of
https://github.com/simon987/libscan.git
synced 2025-04-06 04:42:59 +00:00
Mobi build fix
This commit is contained in:
parent
4db5a3b7b9
commit
de4d909ed5
@ -60,7 +60,7 @@ include(ExternalProject)
|
|||||||
find_program(MAKE_EXE NAMES gmake nmake make)
|
find_program(MAKE_EXE NAMES gmake nmake make)
|
||||||
ExternalProject_Add(
|
ExternalProject_Add(
|
||||||
libmobi
|
libmobi
|
||||||
GIT_REPOSITORY https://github.com/bfabiszewski/libmobi.git
|
GIT_REPOSITORY https://github.com/simon987/libmobi.git
|
||||||
GIT_TAG "public"
|
GIT_TAG "public"
|
||||||
|
|
||||||
UPDATE_COMMAND ""
|
UPDATE_COMMAND ""
|
||||||
@ -73,7 +73,7 @@ ExternalProject_Add(
|
|||||||
SOURCE_DIR "third-party/ext_libmobi/src/libmobi"
|
SOURCE_DIR "third-party/ext_libmobi/src/libmobi"
|
||||||
BINARY_DIR "third-party/ext_libmobi/src/libmobi"
|
BINARY_DIR "third-party/ext_libmobi/src/libmobi"
|
||||||
|
|
||||||
BUILD_COMMAND ${MAKE_EXE} -j 4 --silent
|
BUILD_COMMAND ${MAKE_EXE} -j 8 --silent
|
||||||
)
|
)
|
||||||
|
|
||||||
SET(MOBI_LIB_DIR ${CMAKE_CURRENT_BINARY_DIR}/third-party/ext_libmobi/src/libmobi/src/.libs/)
|
SET(MOBI_LIB_DIR ${CMAKE_CURRENT_BINARY_DIR}/third-party/ext_libmobi/src/libmobi/src/.libs/)
|
||||||
@ -97,7 +97,7 @@ ExternalProject_Add(
|
|||||||
SOURCE_DIR "third-party/ext_ffmpeg/src/ffmpeg"
|
SOURCE_DIR "third-party/ext_ffmpeg/src/ffmpeg"
|
||||||
BINARY_DIR "third-party/ext_ffmpeg/src/ffmpeg"
|
BINARY_DIR "third-party/ext_ffmpeg/src/ffmpeg"
|
||||||
|
|
||||||
BUILD_COMMAND ${MAKE_EXE} -j 3 --silent
|
BUILD_COMMAND ${MAKE_EXE} -j 8 --silent
|
||||||
)
|
)
|
||||||
|
|
||||||
SET(FFMPEG_LIB_DIR ${CMAKE_CURRENT_BINARY_DIR}/third-party/ext_ffmpeg/src/ffmpeg)
|
SET(FFMPEG_LIB_DIR ${CMAKE_CURRENT_BINARY_DIR}/third-party/ext_ffmpeg/src/ffmpeg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user