Commit 1452c3d2 authored by Benjamin Long's avatar Benjamin Long

COMP: Export target for build tree

parent 0c71e3fa
...@@ -234,6 +234,8 @@ INSTALL(TARGETS QtTesting ...@@ -234,6 +234,8 @@ INSTALL(TARGETS QtTesting
add_subdirectory(Examples) add_subdirectory(Examples)
export(TARGETS QtTesting FILE ${QtTesting_BINARY_DIR}/QtTestingExports.cmake)
# Set up the build export configuration # Set up the build export configuration
set( QtTesting_EXPORT_FILE "${QtTesting_BINARY_DIR}/QtTestingConfig.cmake" ) set( QtTesting_EXPORT_FILE "${QtTesting_BINARY_DIR}/QtTestingConfig.cmake" )
configure_file( configure_file(
......
if(NOT QtTesting_EXPORTS_INCLUDED)
include("@QtTesting_BINARY_DIR@/QtTestingExports.cmake")
set(QtTesting_EXPORTS_INCLUDED 1)
endif()
set(QtTesting_INCLUDE_DIRS "@QtTesting_SOURCE_DIR@;@QtTesting_BINARY_DIR@") set(QtTesting_INCLUDE_DIRS "@QtTesting_SOURCE_DIR@;@QtTesting_BINARY_DIR@")
set(QtTesting_LIBRARY_DIR "@QtTesting_BINARY_DIR@") set(QtTesting_LIBRARY_DIR "@QtTesting_BINARY_DIR@")
Markdown is supported
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