Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
morse_cmake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
solverstack
morse_cmake
Commits
aeacaee2
Commit
aeacaee2
authored
7 years ago
by
BOUCHERIE Raphael
Browse files
Options
Downloads
Patches
Plain Diff
added header
parent
99cbba17
No related branches found
No related tags found
1 merge request
!4
Add find module for LIBHQR (hierarchical householder tree)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/find/FindLIBHQR.cmake
+29
-3
29 additions, 3 deletions
modules/find/FindLIBHQR.cmake
with
29 additions
and
3 deletions
modules/find/FindLIBHQR.cmake
+
29
−
3
View file @
aeacaee2
###
#
# @copyright (c) 2009-2014 The University of Tennessee and The University
# of Tennessee Research Foundation.
# All rights reserved.
# @copyright (c) 2012-2016 Inria. All rights reserved.
# @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
#
###
#
# - Try to find LibHQR
# Once done this will define
# LIBHQR_FOUND - System has LibHQR
...
...
@@ -5,11 +15,30 @@
# LIBHQR_LIBRARIES - The libraries needed to use LibHQR
# LIBHQR_DEFINITIONS - Compiler switches required for using LIBHQR
#=============================================================================
# Copyright 2012-2017 Inria.
# Copyright 2017 Raphael Boucherie.
# Copyright 2012-2017 Mathieu Faverge.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
find_package
(
PkgConfig
)
if
(
PKG_CONFIG_FOUND
)
pkg_check_modules
(
PC_LIBHQR QUIET libhqr
)
endif
()
set
(
LIBHQR_LIBRARIES
${
LIBHQR_LIBRARY
}
)
set
(
LIBHQR_INCLUDE_DIRS
${
LIBHQR_INCLUDE_DIR
}
)
set
(
LIBHQR_DEFINITIONS
${
PC_LIBHQR_CFLAGS_OTHER
}
)
find_path
(
LIBHQR_INCLUDE_DIR
libhqr.h
...
...
@@ -36,6 +65,3 @@ find_package_handle_standard_args(
mark_as_advanced
(
LIBHQR_INCLUDE_DIR LIBHQR_LIBRARY
)
set
(
LIBHQR_LIBRARIES
${
LIBHQR_LIBRARY
}
)
set
(
LIBHQR_INCLUDE_DIRS
${
LIBHQR_INCLUDE_DIR
}
)
set
(
LIBHQR_DEFINITIONS
${
PC_LIBHQR_CFLAGS_OTHER
}
)
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