mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 00:28:52 +00:00
cmake: Use CMAKE_COMMAND.
The cmake executable name can vary across platforms.
This commit is contained in:
parent
16c780d568
commit
e767561ab8
@ -522,7 +522,7 @@ ExternalProject_Add(generate_translations_header
|
|||||||
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/translations"
|
BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/translations"
|
||||||
STAMP_DIR ${LRELEASE_PATH}
|
STAMP_DIR ${LRELEASE_PATH}
|
||||||
CMAKE_ARGS -DLRELEASE_PATH=${LRELEASE_PATH}
|
CMAKE_ARGS -DLRELEASE_PATH=${LRELEASE_PATH}
|
||||||
INSTALL_COMMAND cmake -E echo "")
|
INSTALL_COMMAND ${CMAKE_COMMAND} -E echo "")
|
||||||
include_directories("${CMAKE_CURRENT_BINARY_DIR}/translations")
|
include_directories("${CMAKE_CURRENT_BINARY_DIR}/translations")
|
||||||
add_subdirectory(external)
|
add_subdirectory(external)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user