]> Creatis software - cpPlugins.git/blob - cmake/cpPluginsConfig.cmake.in
Moved to version 1.0
[cpPlugins.git] / cmake / cpPluginsConfig.cmake.in
1 ## == Some general configuration
2 include(@CMAKE_INSTALL_PREFIX@/lib/cmake/@PROJECT_NAME@/cpPlgDefinitions.cmake)
3 include(@CMAKE_INSTALL_PREFIX@/lib/cmake/@PROJECT_NAME@/cpPlgFunctions.cmake)
4 set(
5   cpPlugins_INSTALL_FILE
6   @CMAKE_INSTALL_PREFIX@/lib/cmake/@PROJECT_NAME@/cpPlgInstallCommands.cmake
7   )
8 ## == Automatically generated commands
9 @PACKAGE_INIT@
10
11 ## == Include targets file
12 set(_targets "${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake")
13 if(EXISTS "${_targets}")
14   include("${_targets}")
15   check_required_components("@PROJECT_NAME@")
16 endif(EXISTS "${_targets}")
17
18 ## == Import bash applications
19 set(
20   _bash
21   ExecutePipeline
22   HostCreator
23   MOC
24   )
25 foreach(_b ${_bash})
26   add_executable(cpPlugins_${_b} IMPORTED)
27   set_property(
28     TARGET cpPlugins_${_b}
29     PROPERTY IMPORTED_LOCATION @CMAKE_INSTALL_PREFIX@/bin/cpPlugins_${_b}
30     )
31 endforeach(_b)
32
33 ## eof - $RCSfile$