-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Followed the official cmake doc and added newest export config. https://cmake.org/cmake/help/latest/guide/tutorial/Adding%20Export%20Configuration.html
- Loading branch information
Showing
2 changed files
with
34 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Config.cmake.in | ||
|
||
@PACKAGE_INIT@ | ||
|
||
# Value of 'iir_INCLUDE_DIRS' is real: it contains the include directory. | ||
set(iir_INCLUDE_DIRS @CMAKE_INSTALL_PREFIX@/include) | ||
|
||
# CMake extracts a library path from it. | ||
set(iir_LIBRARIES iir) | ||
|
||
# Include the export script generated by CMake: | ||
include(${CMAKE_CURRENT_LIST_DIR}/iirTargets.cmake) |