Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
coal
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
Container Registry
Model registry
Operate
Environments
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
Coal
coal
Commits
e37b3e63
Commit
e37b3e63
authored
5 years ago
by
Joseph Mirabel
Browse files
Options
Downloads
Patches
Plain Diff
[CMake] Update call to PROJECT
parent
3b473bc1
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
CMakeLists.txt
+2
-11
2 additions, 11 deletions
CMakeLists.txt
with
2 additions
and
11 deletions
CMakeLists.txt
+
2
−
11
View file @
e37b3e63
...
...
@@ -51,17 +51,8 @@ APPLY_DEFAULT_APPLE_CONFIGURATION()
OPTION
(
BUILD_PYTHON_INTERFACE
"Build the python bindings"
OFF
)
# Tell CMake that we compute the PROJECT_VERSION manually.
IF
(
CMAKE_VERSION VERSION_GREATER
"3.0.0"
)
CMAKE_POLICY
(
SET CMP0048 NEW
)
IF
(
CMAKE_VERSION VERSION_GREATER
"3.9.0"
)
PROJECT
(
${
PROJECT_NAME
}
VERSION
${
PROJECT_VERSION_FULL
}
LANGUAGES CXX DESCRIPTION
${
PROJECT_DESCRIPTION
}
)
ELSE
(
CMAKE_VERSION VERSION_GREATER
"3.9.0"
)
PROJECT
(
${
PROJECT_NAME
}
VERSION
${
PROJECT_VERSION_FULL
}
LANGUAGES CXX
)
ENDIF
(
CMAKE_VERSION VERSION_GREATER
"3.9.0"
)
ELSE
(
CMAKE_VERSION VERSION_GREATER
"3.0.0"
)
PROJECT
(
${
PROJECT_NAME
}
CXX
)
ENDIF
(
CMAKE_VERSION VERSION_GREATER
"3.0.0"
)
COMPUTE_PROJECT_ARGS
(
PROJECT_ARGS LANGUAGES CXX
)
PROJECT
(
${
PROJECT_NAME
}
${
PROJECT_ARGS
}
)
add_required_dependency
(
"eigen3 >= 3.0.0"
)
include_directories
(
SYSTEM
${
EIGEN3_INCLUDE_DIRS
}
)
...
...
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