Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VirtualFluids
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iRMB
VirtualFluids
Commits
e597bd20
Commit
e597bd20
authored
4 years ago
by
Soeren Peters
Browse files
Options
Downloads
Patches
Plain Diff
Use the new USE_OPENMP variable in muparser.
parent
4c23cb9f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
3rdParty/MuParser/CMakeLists.txt
+2
-2
2 additions, 2 deletions
3rdParty/MuParser/CMakeLists.txt
with
2 additions
and
2 deletions
3rdParty/MuParser/CMakeLists.txt
+
2
−
2
View file @
e597bd20
...
...
@@ -14,7 +14,7 @@ set(MUPARSER_VERSION ${MUPARSER_VERSION_MAJOR}.${MUPARSER_VERSION_MINOR}.${MUPAR
# Build options
option
(
ENABLE_SAMPLES
"Build the samples"
OFF
)
option
(
ENABLE_OPENMP
"Enable OpenMP for multithreading"
ON
)
#
option(ENABLE_OPENMP "Enable OpenMP for multithreading" ON)
#option(BUILD_SHARED_LIBS "Build shared/static libs" ON)
...
...
@@ -60,7 +60,7 @@ if (CMAKE_BUILD_TYPE STREQUAL Debug)
target_compile_definitions
(
muparser PRIVATE _DEBUG
)
endif
()
if
(
ENABL
E_OPENMP
)
if
(
US
E_OPENMP
)
target_compile_definitions
(
muparser PRIVATE MUP_USE_OPENMP
)
endif
()
set_target_properties
(
muparser PROPERTIES
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment