Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add configuration auto for contexts/nthreads and use the PROCESSOR_COUNT.
[simgrid.git] / buildtools / Cmake / Modules / FindNbCore.cmake
index a3c1809176a6703d240c1c75db17cfb799d3ad82..4b3c5935f1f79a4c4da91e87ee430e496f5ce00c 100644 (file)
@@ -1,6 +1,6 @@
 if(NOT DEFINED PROCESSOR_COUNT)
-  # Unknown:
-  set(PROCESSOR_COUNT 0)
+  # Default:
+  set(PROCESSOR_COUNT 1)
 
   # Linux:
   set(cpuinfo_file "/proc/cpuinfo")