diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-14 16:33:22 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-15 11:01:03 +0900 |
commit | 282d6e6acfda2dcc186fe80cd613a1458f27c560 (patch) | |
tree | f0b100c3da57b31279612c54901ccc8c6acc9b2f /CMakeLists.txt | |
parent | 750ef549e576c07b880bacfb111e5ae470f59fe5 (diff) | |
download | tdemultimedia-282d6e6acfda2dcc186fe80cd613a1458f27c560.tar.gz tdemultimedia-282d6e6acfda2dcc186fe80cd613a1458f27c560.zip |
Simplify code since cmake minimum version is now 3.5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 9af19ae07b8ac16ca6e2e62d26063f4a801e192b)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 76f61281..c7500b54 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -167,14 +167,8 @@ configure_file( config.h.cmake config.h @ONLY ) ##### add apidox targets ############ -if( "${CMAKE_VERSION}" VERSION_LESS "3.1" ) - set( CMAKE_ENV "env" ) -else() - set( CMAKE_ENV "${CMAKE_COMMAND};-E;env" ) -endif() - add_custom_target( apidox - COMMAND ${CMAKE_ENV} + COMMAND ${CMAKE_COMMAND} -E env "TQTDOCDIR=/usr/share/tqt3/doc/html" "DOXDATA=${HTML_INSTALL_DIR}/en/common" ${CMAKE_SOURCE_DIR}/admin/doxygen.sh |