-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added CMake install for find_package support (#30)
* added CMake install for find_package support * argh! cmake installation ans usage in readme
Showing
3 changed files
with
84 additions
and
24 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
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
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,14 @@ | ||
# argh-config.cmake - package configuration file for argh library | ||
# | ||
# exports: | ||
# argh - as INTERFACE library target with its INTERFACE_INCLUDE_DIRECTORIES set | ||
# | ||
# sets: | ||
# argh_INCLUDE_DIR - the directory containing argh.h | ||
|
||
|
||
|
||
if(NOT TARGET argh) | ||
include("${CMAKE_CURRENT_LIST_DIR}/arghTargets.cmake") | ||
get_target_property(argh_INCLUDE_DIR argh INTERFACE_INCLUDE_DIRECTORIES) | ||
endif() |