mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2025-12-18 16:44:52 +08:00
cmake: windows: add the jami-core to the project
Change-Id: Ieeeb8bbf3d032fb9595b6f76a49ab8027dad7d99
This commit is contained in:
@@ -190,13 +190,9 @@ def init_submodules():
|
||||
"""Initialize any git submodules in the project."""
|
||||
print("Initializing submodules...")
|
||||
|
||||
if execute_cmd(["git", "submodule", "update", "--init"], False):
|
||||
if execute_cmd(["git", "submodule", "update", "--init", "--recursive"], False):
|
||||
print("Submodule initialization error.")
|
||||
else:
|
||||
if execute_cmd(["git", "submodule", "update", "--recursive"], False):
|
||||
print("Submodule recursive checkout error.")
|
||||
else:
|
||||
print("Submodule recursive checkout finished.")
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
def build_deps():
|
||||
@@ -269,7 +265,7 @@ def build(config_str, qt_dir, tests):
|
||||
# We need to update the minimum SDK version to be able to
|
||||
# build with system theme support
|
||||
cmake_options = [
|
||||
"-DWITH_DAEMON_SUBMODULE=ON",
|
||||
"-DJAMICORE_AS_SUBDIR=ON",
|
||||
"-DCMAKE_PREFIX_PATH=" + qt_dir,
|
||||
"-DCMAKE_MSVCIDE_RUN_PATH=" + qt_dir + "\\bin",
|
||||
"-DCMAKE_INSTALL_PREFIX=" + os.getcwd(),
|
||||
|
||||
Reference in New Issue
Block a user