Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MLIP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
Monitor
Incidents
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
Tadah
MLIP
Commits
3012b836
Commit
3012b836
authored
1 year ago
by
mkirsz
Browse files
Options
Downloads
Patches
Plain Diff
Fix download to ext proj
parent
d55f0e90
No related branches found
No related tags found
No related merge requests found
Pipeline
#33156
canceled
1 year ago
Stage: build
Stage: build.tests
Stage: run.tests
Stage: trigger
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+3
-10
3 additions, 10 deletions
CMakeLists.txt
with
3 additions
and
10 deletions
CMakeLists.txt
+
3
−
10
View file @
3012b836
...
@@ -24,16 +24,6 @@ ExternalProject_Add(Tadah.MODELS
...
@@ -24,16 +24,6 @@ ExternalProject_Add(Tadah.MODELS
INSTALL_COMMAND cmake -E echo
"Skipping install step."
INSTALL_COMMAND cmake -E echo
"Skipping install step."
)
)
if
(
NOT EXISTS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../CORE"
)
message
(
"This module requires CORE module for compilation."
)
message
(
FATAL_ERROR
"CORE module not found."
)
endif
()
if
(
NOT EXISTS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/../MODELS"
)
message
(
"This module requires MODELS module for compilation."
)
message
(
FATAL_ERROR
"MODELS module not found."
)
endif
()
link_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/../MODELS/build
)
link_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/../MODELS/build
)
link_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/../CORE/build
)
link_directories
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/../CORE/build
)
...
@@ -85,6 +75,9 @@ add_library(tadah.mlip.obj OBJECT
...
@@ -85,6 +75,9 @@ add_library(tadah.mlip.obj OBJECT
${
MODELS_SRC
}
${
MODELS_SRC
}
${
OUTPUT_SRC
}
${
OUTPUT_SRC
}
)
)
add_dependencies
(
tadah.mlip.obj Tadah.MODELS
)
if
(
TADAH_ENABLE_OPENMP
)
if
(
TADAH_ENABLE_OPENMP
)
find_package
(
OpenMP REQUIRED
)
find_package
(
OpenMP REQUIRED
)
target_link_libraries
(
tadah.mlip.obj PUBLIC OpenMP::OpenMP_CXX
)
target_link_libraries
(
tadah.mlip.obj PUBLIC OpenMP::OpenMP_CXX
)
...
...
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