forked from stepanvanecek/sys-sage
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from caps-tum/develop
Develop
- Loading branch information
Showing
4 changed files
with
56 additions
and
38 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
File renamed without changes.
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 |
---|---|---|
@@ -1,10 +1,17 @@ | ||
# Compute installation prefix relative to this file. | ||
get_filename_component(_dir "${CMAKE_CURRENT_LIST_FILE}" PATH) | ||
get_filename_component(_prefix "${_dir}/.." ABSOLUTE) | ||
|
||
# Import the targets. | ||
#include("${_prefix}/lib/sys-sage-targets.cmake") | ||
|
||
# Report other information. | ||
set(sys-sage_LIBRARIES "${_prefix}/lib/libsys-sage.so") | ||
set(sys-sage_INCLUDE_DIRS "${_prefix}/inc ") | ||
@PACKAGE_INIT@ | ||
|
||
include(CMakeFindDependencyMacro) | ||
find_dependency(LibXml2) | ||
#TODO: the conditional options NVIDIA_MIG, DS_HWLOC will have to be set at the user's side (or the libraries present..) -- this should be included automatically if the options are set when building/installing | ||
if(NVIDIA_MIG) | ||
find_dependency(CUDAToolkit 10.0) | ||
endif() | ||
if(DATA_SOURCES OR DS_HWLOC) | ||
find_dependency(HWLOC) | ||
endif() | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/sys-sage-targets.cmake") | ||
|
||
check_required_components(sys-sage) |
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