diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2021-03-26 08:03:34 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-04-24 09:46:34 +0000 |
commit | 8314e7216e9f1312bf4294c94977ba75d19b9e9d (patch) | |
tree | e48b8221b8e278d95830c3e46b18f2561eba2c25 /examples | |
parent | b4d331d08b48698c15d7b52da469341bf8dcfbca (diff) |
CMake: deploy libfftreal
Needed by the spectrum example.
Change-Id: I37e8e81145c228c9709b42ee59a7d1dbc0878d02
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/multimedia/spectrum/3rdparty/fftreal/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/multimedia/spectrum/3rdparty/fftreal/CMakeLists.txt b/examples/multimedia/spectrum/3rdparty/fftreal/CMakeLists.txt index 35135b1c0..e5b9c70ef 100644 --- a/examples/multimedia/spectrum/3rdparty/fftreal/CMakeLists.txt +++ b/examples/multimedia/spectrum/3rdparty/fftreal/CMakeLists.txt @@ -56,3 +56,17 @@ qt_extend_target(fftreal CONDITION WIN32 #### Keys ignored in scope 11:.:../..:../../spectrum.pri:CONFIG(debug,release OR debug): # spectrum_build_dir = "/debug" + +# special case begin +if(NOT DEFINED INSTALL_EXAMPLESDIR) + set(INSTALL_EXAMPLESDIR "examples") +endif() + +set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/multimedia/spectrum") + +install(TARGETS spectrum + RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" + BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" + LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}" +) +# special case end |