Commit 48c826cd authored by Ben Boeckel's avatar Ben Boeckel

cmake: bail on packaging without cmb or in developer mode

parent dcbcd3d2
......@@ -73,6 +73,10 @@ function (superbuild_sanity_check)
endfunction ()
function (superbuild_add_packaging)
if (NOT cmb_enabled OR DEVELOPER_MODE_cmb)
return ()
endif ()
if (WIN32)
set(generators
NSIS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment