Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
ogs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
33
Issues
33
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
21
Merge Requests
21
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ogs
ogs
Commits
2534fb4e
Commit
2534fb4e
authored
Dec 14, 2020
by
Lars Bilke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CMake] Moved definition USE_INSITU.
parent
647fc12b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
Applications/CLI/CMakeLists.txt
Applications/CLI/CMakeLists.txt
+3
-0
CMakeLists.txt
CMakeLists.txt
+0
-4
ProcessLib/CMakeLists.txt
ProcessLib/CMakeLists.txt
+3
-0
No files found.
Applications/CLI/CMakeLists.txt
View file @
2534fb4e
...
...
@@ -50,6 +50,9 @@ add_executable(ogs ogs.cpp)
if
(
OGS_USE_PETSC
)
target_compile_definitions
(
ogs PRIVATE USE_PETSC
)
endif
()
if
(
USE_INSITU
)
target_compile_definitions
(
ogs PRIVATE USE_INSITU
)
endif
()
target_link_libraries
(
ogs
PRIVATE
ApplicationsLib
...
...
CMakeLists.txt
View file @
2534fb4e
...
...
@@ -228,10 +228,6 @@ include(scripts/cmake/packaging/Pack.cmake)
# ---- Subdirectories ----
# External projects
if
(
OGS_INSITU
)
add_definitions
(
-DUSE_INSITU
)
endif
()
add_subdirectory
(
ThirdParty
)
include_directories
(
SYSTEM
...
...
ProcessLib/CMakeLists.txt
View file @
2534fb4e
...
...
@@ -29,6 +29,9 @@ endif()
if
(
OGS_USE_XDMF
)
target_compile_definitions
(
ProcessLib PUBLIC OGS_USE_XDMF
)
endif
()
if
(
USE_INSITU
)
target_compile_definitions
(
ProcessLib PRIVATE USE_INSITU
)
endif
()
target_link_libraries
(
ProcessLib
PUBLIC
BaseLib
...
...
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