diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-11 18:22:20 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2018-06-11 21:30:22 +0200 |
commit | eb392f649ea544742849e50d920be677d09aa344 (patch) | |
tree | d3032358009998a515874bcc368c7cef5f5882ae /3rdparty/QtPropertyBrowser/cmake/InstallProjectConfig.cmake | |
parent | be73894bea1c5719eccfad6b8c7e7ae44798a68a (diff) | |
download | nextpnr-eb392f649ea544742849e50d920be677d09aa344.tar.gz nextpnr-eb392f649ea544742849e50d920be677d09aa344.tar.bz2 nextpnr-eb392f649ea544742849e50d920be677d09aa344.zip |
Added QtPropertyBrowser source
Diffstat (limited to '3rdparty/QtPropertyBrowser/cmake/InstallProjectConfig.cmake')
-rw-r--r-- | 3rdparty/QtPropertyBrowser/cmake/InstallProjectConfig.cmake | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3rdparty/QtPropertyBrowser/cmake/InstallProjectConfig.cmake b/3rdparty/QtPropertyBrowser/cmake/InstallProjectConfig.cmake new file mode 100644 index 00000000..d93b3ff0 --- /dev/null +++ b/3rdparty/QtPropertyBrowser/cmake/InstallProjectConfig.cmake @@ -0,0 +1,18 @@ +###################### InstallProjectConfig ########################### + +include(CMakePackageConfigHelpers) +configure_package_config_file( + ${CMAKE_SOURCE_DIR}/cmake/${PROJECT_NAME}Config.cmake.in + ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake + INSTALL_DESTINATION ${INSTALL_CMAKE_DIR} + ) + +install(EXPORT ${PROJECT_NAME}Targets + DESTINATION ${INSTALL_CMAKE_DIR} + ) + +install( + FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake + DESTINATION ${INSTALL_CMAKE_DIR} + COMPONENT Devel + )
\ No newline at end of file |