| 1 |
# - Config file for the dynamicEDT3D package |
| 2 |
# |
| 3 |
# Usage from an external project: |
| 4 |
# In your CMakeLists.txt, add these lines: |
| 5 |
# |
| 6 |
# FIND_PACKAGE(dynamicedt3d REQUIRED ) |
| 7 |
# INCLUDE_DIRECTORIES(${DYNAMICEDT3D_INCLUDE_DIRS}) |
| 8 |
# TARGET_LINK_LIBRARIES(MY_TARGET_NAME ${DYNAMICEDT3D_LIBRARIES}) |
| 9 |
# |
| 10 |
# It defines the following variables |
| 11 |
# DYNAMICEDT3D_INCLUDE_DIRS - include directories for dynamicEDT3D |
| 12 |
# DYNAMICEDT3D_LIBRARY_DIRS - library directories for dynamicEDT3D (normally not used!) |
| 13 |
# DYNAMICEDT3D_LIBRARIES - libraries to link against |
| 14 |
# DYNAMICEDT3D_MAJOR_VERSION - major version |
| 15 |
# DYNAMICEDT3D_MINOR_VERSION - minor version |
| 16 |
# DYNAMICEDT3D_PATCH_VERSION - patch version |
| 17 |
# DYNAMICEDT3D_VERSION - major.minor.patch version |
| 18 |
|
| 19 |
@PACKAGE_INIT@ |
| 20 |
|
| 21 |
set(DYNAMICEDT3D_MAJOR_VERSION "@DYNAMICEDT3D_MAJOR_VERSION@") |
| 22 |
set(DYNAMICEDT3D_MINOR_VERSION "@DYNAMICEDT3D_MINOR_VERSION@") |
| 23 |
set(DYNAMICEDT3D_PATCH_VERSION "@DYNAMICEDT3D_PATCH_VERSION@") |
| 24 |
set(DYNAMICEDT3D_VERSION "@DYNAMICEDT3D_VERSION@") |
| 25 |
|
| 26 |
# Tell the user project where to find our headers and libraries |
| 27 |
set_and_check(DYNAMICEDT3D_INCLUDE_DIRS "@PACKAGE_DYNAMICEDT3D_INCLUDE_DIRS@") |
| 28 |
set_and_check(DYNAMICEDT3D_LIBRARY_DIRS "@PACKAGE_DYNAMICEDT3D_LIB_DIR@") |
| 29 |
|
| 30 |
set(DYNAMICEDT3D_LIBRARIES "@PACKAGE_DYNAMICEDT3D_LIB_DIR@/@DYNAMICEDT3D_LIBRARY@") |
| 31 |
|
| 32 |
@DYNAMICEDT3D_INCLUDE_TARGETS@ |