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
Commits
f0e50f03
Commit
f0e50f03
authored
Apr 09, 2019
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use OpenMesh source dir as root directory
parent
6302f46f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
CMakeLists.txt
CMakeLists.txt
+0
-2
src/OpenMesh/Core/CMakeLists.txt
src/OpenMesh/Core/CMakeLists.txt
+1
-1
src/OpenMesh/Tools/CMakeLists.txt
src/OpenMesh/Tools/CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
f0e50f03
...
...
@@ -5,8 +5,6 @@ cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
set
(
CMAKE_CXX_STANDARD_REQUIRED TRUE
)
set
(
CMAKE_CXX_STANDARD 11
)
set
(
OpenMesh_RootDir
${
CMAKE_CURRENT_LIST_DIR
}
)
enable_testing
()
# Only set project name if OpenMesh is built as stand-alone library
...
...
src/OpenMesh/Core/CMakeLists.txt
View file @
f0e50f03
...
...
@@ -133,7 +133,7 @@ install(DIRECTORY IO/
endif
()
target_include_directories
(
OpenMeshCore PUBLIC
$<BUILD_INTERFACE:
${
OpenMesh_RootDir
}
/src>
$<BUILD_INTERFACE:
${
CMAKE_SOURCE_DIR
}
/src>
$<INSTALL_INTERFACE:include>
)
install
(
TARGETS OpenMeshCore EXPORT OpenMeshConfig
...
...
src/OpenMesh/Tools/CMakeLists.txt
View file @
f0e50f03
...
...
@@ -116,7 +116,7 @@ install(FILES Utils/getopt.h DESTINATION include/OpenMesh/Tools/Utils)
endif
()
target_include_directories
(
OpenMeshTools PUBLIC
$<BUILD_INTERFACE:
${
OpenMesh_RootDir
}
/src>
$<BUILD_INTERFACE:
${
CMAKE_SOURCE_DIR
}
/src>
$<INSTALL_INTERFACE:include>
)
install
(
TARGETS OpenMeshTools EXPORT OpenMeshConfig
...
...
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