Commit a147be42 authored by Robert Maynard's avatar Robert Maynard
Browse files

SMTK will properly export its target file when a submodule of CMB.

The Package export places things in a funky location when you are not
the primary project, so we use the export file functionality to get
consistent behavior.
parent b2d73a7c
......@@ -459,7 +459,7 @@ install(
FILE SMTKTargets.cmake
)
export(PACKAGE SMTK)
export(EXPORT SMTK FILE "${PROJECT_BINARY_DIR}/SMTKTargets.cmake")
################################################################################
# Create a build directory package configuration file
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment