|
|
|
@ -42,7 +42,7 @@ else()
|
|
|
|
|
cmkr_exec(${CMAKE_COMMAND} -E rm -rf ${CMKR_DIRECTORY})
|
|
|
|
|
endif()
|
|
|
|
|
find_package(Git QUIET REQUIRED)
|
|
|
|
|
set(CMKR_REPO "https://github.com/mrexodia/cmkr")
|
|
|
|
|
set(CMKR_REPO "https://github.com/moalyousef/cmkr")
|
|
|
|
|
cmkr_exec(${GIT_EXECUTABLE} clone ${CMKR_REPO} ${CMKR_DIRECTORY})
|
|
|
|
|
cmkr_exec(${CMAKE_COMMAND} ${CMKR_DIRECTORY} -B${CMKR_DIRECTORY}/build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=${CMKR_DIRECTORY})
|
|
|
|
|
cmkr_exec(${CMAKE_COMMAND} --build ${CMKR_DIRECTORY}/build --parallel --config Release)
|
|
|
|
@ -109,4 +109,4 @@ macro(cmkr)
|
|
|
|
|
# Do not execute the rest of the original CMakeLists.txt
|
|
|
|
|
return()
|
|
|
|
|
endif()
|
|
|
|
|
endmacro()
|
|
|
|
|
endmacro()
|
|
|
|
|