Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openmesh-python
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
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
OpenMesh
openmesh-python
Commits
269fb490
There was a problem fetching the pipeline summary.
Commit
269fb490
authored
7 years ago
by
Isaak Lim
Browse files
Options
Downloads
Patches
Plain Diff
set c++ standard 11 globally
parent
d6fb5ba4
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+2
-10
2 additions, 10 deletions
CMakeLists.txt
with
2 additions
and
10 deletions
CMakeLists.txt
+
2
−
10
View file @
269fb490
cmake_minimum_required
(
VERSION 3.1.0
)
# Fix behavior of CMAKE_CXX_STANDARD when targeting macOS.
if
(
POLICY CMP0025
)
cmake_policy
(
SET CMP0025 NEW
)
endif
()
project
(
openmesh
)
set
(
CMAKE_CXX_STANDARD 11
)
set
(
CMAKE_POSITION_INDEPENDENT_CODE ON
)
set
(
OPENMESH_BUILD_PYTHON_BINDINGS OFF
)
...
...
@@ -26,11 +23,6 @@ acg_append_files(SOURCES "src/*.cc" .)
include_directories
(
${
OPENMESH_INCLUDE_DIRS
}
)
pybind11_add_module
(
openmesh
${
HEADERS
}
${
SOURCES
}
)
set_target_properties
(
openmesh OpenMeshCore OpenMeshTools PROPERTIES
CXX_STANDARD 11
)
if
(
WIN32
)
target_link_libraries
(
openmesh PRIVATE OpenMeshCore
)
target_link_libraries
(
openmesh PRIVATE OpenMeshTools
)
...
...
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