aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Filipenkov <decapitator@ukr.net>2024-02-11 10:18:19 +0300
committerAndrey Filipenkov <decapitator@ukr.net>2024-02-11 10:18:19 +0300
commit754e8193ae028559795a376ba63afbc2ad5a64ea (patch)
tree2b456d3fb107b7fcb5477bbd1f11ddb99338db68
parent89288b972ea04b1196c6998f2a2a48456fbdcf60 (diff)
use literal make command instead of variable in Xcode
fixes binary addons target build
-rw-r--r--cmake/scripts/darwin_embedded/Install.cmake4
-rw-r--r--cmake/scripts/osx/Install.cmake4
2 files changed, 4 insertions, 4 deletions
diff --git a/cmake/scripts/darwin_embedded/Install.cmake b/cmake/scripts/darwin_embedded/Install.cmake
index 724fad1259..c408e173ca 100644
--- a/cmake/scripts/darwin_embedded/Install.cmake
+++ b/cmake/scripts/darwin_embedded/Install.cmake
@@ -85,8 +85,8 @@ if(ADDONS_TO_BUILD)
set(_addons "ADDONS=${ADDONS_TO_BUILD}")
endif()
add_custom_target(binary-addons
- COMMAND $(MAKE) -C ${CMAKE_SOURCE_DIR}/tools/depends/target/binary-addons clean
- COMMAND $(MAKE) -C ${CMAKE_SOURCE_DIR}/tools/depends/target/binary-addons VERBOSE=1 V=99
+ COMMAND make -C ${CMAKE_SOURCE_DIR}/tools/depends/target/binary-addons clean
+ COMMAND make -C ${CMAKE_SOURCE_DIR}/tools/depends/target/binary-addons VERBOSE=1 V=99
INSTALL_PREFIX="${CMAKE_BINARY_DIR}/addons" CROSS_COMPILING=yes ${_addons})
if(ENABLE_XCODE_ADDONBUILD)
add_dependencies(${APP_NAME_LC} binary-addons)
diff --git a/cmake/scripts/osx/Install.cmake b/cmake/scripts/osx/Install.cmake
index 9c62a7a996..12d8edebcf 100644
--- a/cmake/scripts/osx/Install.cmake
+++ b/cmake/scripts/osx/Install.cmake
@@ -12,8 +12,8 @@ if(CMAKE_GENERATOR MATCHES "Xcode")
set(_addons "ADDONS=${ADDONS_TO_BUILD}")
endif()
add_custom_target(binary-addons
- COMMAND $(MAKE) -C ${CMAKE_SOURCE_DIR}/tools/depends/target/binary-addons clean
- COMMAND $(MAKE) -C ${CMAKE_SOURCE_DIR}/tools/depends/target/binary-addons VERBOSE=1 V=99
+ COMMAND make -C ${CMAKE_SOURCE_DIR}/tools/depends/target/binary-addons clean
+ COMMAND make -C ${CMAKE_SOURCE_DIR}/tools/depends/target/binary-addons VERBOSE=1 V=99
INSTALL_PREFIX="${CMAKE_BINARY_DIR}/addons" CROSS_COMPILING=yes ${_addons})
if(ENABLE_XCODE_ADDONBUILD)
add_dependencies(${APP_NAME_LC} binary-addons)