Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenMesh
openmesh-python
Commits
269fb490
Commit
269fb490
authored
Feb 15, 2018
by
Isaak Lim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set c++ standard 11 globally
parent
d6fb5ba4
Pipeline
#6216
passed with stages
in 5 minutes and 13 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
CMakeLists.txt
CMakeLists.txt
+2
-10
No files found.
CMakeLists.txt
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
)
...
...
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