Update cmkr.cmake

self-hosting
Mohammed Alyousef 4 years ago committed by GitHub
parent 473926bcfd
commit b016d7139c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -42,7 +42,7 @@ else()
cmkr_exec(${CMAKE_COMMAND} -E rm -rf ${CMKR_DIRECTORY}) cmkr_exec(${CMAKE_COMMAND} -E rm -rf ${CMKR_DIRECTORY})
endif() endif()
find_package(Git QUIET REQUIRED) 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(${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} ${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) 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 # Do not execute the rest of the original CMakeLists.txt
return() return()
endif() endif()
endmacro() endmacro()

Loading…
Cancel
Save