Browse Source

Merge pull request #1476 from xsacha/patch-1

Fix CMake cross-compiling
tags/v0.3.0
Martin Kroeker GitHub 7 years ago
parent
commit
0ab5bf1746
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cmake/system.cmake

+ 1
- 1
cmake/system.cmake View File

@@ -97,7 +97,7 @@ if (NOT CMAKE_CROSSCOMPILING)
endif()

if (NOT DEFINED NUM_THREADS)
if (NOT NUM_CORES EQUAL 0)
if (DEFINED NUM_CORES AND NOT NUM_CORES EQUAL 0)
# HT?
set(NUM_THREADS ${NUM_CORES})
else ()


Loading…
Cancel
Save