File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ endif()
1515set (CMKR_EXECUTABLE "" CACHE FILEPATH "cmkr executable" )
1616set (CMKR_SKIP_GENERATION OFF CACHE BOOL "skip automatic cmkr generation" )
1717set (CMKR_BUILD_TYPE "Debug" CACHE STRING "cmkr build configuration" )
18+ mark_as_advanced (CMKR_REPO CMKR_TAG CMKR_EXECUTABLE CMKR_SKIP_GENERATION CMKR_BUILD_TYPE)
1819
1920# Disable cmkr if generation is disabled
2021if (DEFINED ENV{CI} OR CMKR_SKIP_GENERATION OR CMKR_BUILD_SKIP_GENERATION)
@@ -62,6 +63,8 @@ if(DEFINED ENV{CMKR_CACHE} AND EXISTS "$ENV{CMKR_CACHE}")
6263 if (NOT CMKR_DIRECTORY_PREFIX MATCHES "\\ /$" )
6364 set (CMKR_DIRECTORY_PREFIX "${CMKR_DIRECTORY_PREFIX} /" )
6465 endif ()
66+ # Build in release mode for the cache
67+ set (CMKR_BUILD_TYPE "Release" )
6568else ()
6669 set (CMKR_DIRECTORY_PREFIX "${CMAKE_CURRENT_BINARY_DIR} /_cmkr_" )
6770endif ()
You can’t perform that action at this time.
0 commit comments