-
Notifications
You must be signed in to change notification settings - Fork 311
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 #544 from Anatoscope/fix_CImgPlugin_cmake
[CImgPlugin] Use sofa cmake command to create proper package
- Loading branch information
Showing
2 changed files
with
17 additions
and
6 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,11 @@ | ||
# CMake package configuration file for the CImgPlugin plugin | ||
|
||
@PACKAGE_INIT@ | ||
|
||
find_package(SofaGeneral REQUIRED) | ||
|
||
if(NOT TARGET CImgPlugin) | ||
include("${CMAKE_CURRENT_LIST_DIR}/CImgPluginTargets.cmake") | ||
endif() | ||
|
||
check_required_components(CImgPlugin) |
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