forked from ceph/dmclock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cmake files that will allow dmclock to be incorporated in outside
cmake projects. Signed-off-by: J. Eric Ivancich <[email protected]>
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# - Config file for the FooBar package | ||
# It defines the following variables | ||
# DMCLOCK_INCLUDE_DIRS - include directories for FooBar | ||
# DMCLOCK_LIBRARIES - libraries to link against | ||
|
||
# Compute paths | ||
get_filename_component(DMCLOCK_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) | ||
set(DMCLOCK_INCLUDE_DIRS "${DMCLOCK_CMAKE_DIR}/src") | ||
# set(DMCLOCK_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@") | ||
|
||
# Our library dependencies (contains definitions for IMPORTED targets) | ||
if(NOT TARGET dmclock AND NOT dmclock_BINARY_DIR) | ||
include("${DMCLOCK_CMAKE_DIR}/dmclock-targets.cmake") | ||
endif() | ||
|
||
# These are IMPORTED targets created by FooBarTargets.cmake | ||
set(DMCLOCK_LIBRARIES dmclock) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export(PACKAGE dmclock) |