File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ endif()
248248
249249option (UGU_USE_OPENMP "Use OpenMP to enable parallelization" ON )
250250if (APPLE )
251- set (UGU_USE_OPENMP OFF )
251+ set (UGU_USE_OPENMP OFF CACHE BOOL "Use OpenMP" FORCE )
252252endif ()
253253message ("UGU_USE_OPENMP: ${UGU_USE_OPENMP} " )
254254if (UGU_USE_OPENMP)
@@ -277,7 +277,7 @@ if(UGU_USE_TBB)
277277 set (Ugu_LIBS ${Ugu_LIBS} TBB::tbb TBB::tbbmalloc)
278278 else ()
279279 message (WARNING "TBB not found. Disable UGU_USE_TBB" )
280- set (UGU_USE_TBB OFF )
280+ set (UGU_USE_TBB OFF CACHE BOOL "Use TBB" FORCE )
281281 endif ()
282282endif ()
283283
@@ -567,7 +567,7 @@ else()
567567endif ()
568568if (APPLE )
569569 # Not support Apple metal yet
570- set (UGU_BUILD_GUI_APP OFF )
570+ set (UGU_BUILD_GUI_APP OFF CACHE BOOL "Switch to build GUI app" FORCE )
571571endif ()
572572message ("UGU_BUILD_EXAMPLES: ${UGU_BUILD_EXAMPLES} " )
573573message ("UGU_BUILD_APP: ${UGU_BUILD_APP} " )
You can’t perform that action at this time.
0 commit comments