Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
compass-github-pull
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
steinbac
compass-github-pull
Commits
b0e196ad
Commit
b0e196ad
authored
Apr 30, 2018
by
steinbac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed cmake syntax error
parent
a4427def
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cmake/FindCPU_FEATURES.cmake
cmake/FindCPU_FEATURES.cmake
+1
-1
No files found.
cmake/FindCPU_FEATURES.cmake
View file @
b0e196ad
...
...
@@ -240,7 +240,7 @@ ELSEIF(CMAKE_SYSTEM_NAME MATCHES "Windows")
wmic_get
(
"NumberOfCores"
CPU_NPHYS_CORES
)
#dirty hack that I need to validate with other machines in Win7
if
(
NOT
"
${
L2_CACHE_SIZE
}
"
STR
_
EQUAL
""
)
if
(
NOT
"
${
L2_CACHE_SIZE
}
"
STREQUAL
""
)
if
(
${
CPU_NPHYS_CORES
}
GREATER 1
)
math
(
EXPR L2_CACHE_SIZE
"
${
L2_CACHE_SIZE
}
/
${
CPU_NPHYS_CORES
}
"
)
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment