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 10:59:41 +0900 |
commit | 9af19ae07b8ac16ca6e2e62d26063f4a801e192b (patch) | |
tree | 0d23a24561a89d27726c3c6fd013302ad7ee05e4 /CMakeLists.txt | |
parent | 1aadc8cec52a6c705e9c7ab08653101666ae7943 (diff) | |
download | tdemultimedia-9af19ae07b8ac16ca6e2e62d26063f4a801e192b.tar.gz tdemultimedia-9af19ae07b8ac16ca6e2e62d26063f4a801e192b.zip |
Simplify code since cmake minimum version is now 3.5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 |