diff options
author | Michele Calgaro <[email protected]> | 2024-02-14 16:16:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-15 10:59:20 +0900 |
commit | 10639b722fa3d3ffa1f55b762cf91424f92dbf37 (patch) | |
tree | 57187b6daa7f519b97322b0f4366ed5d0641580c | |
parent | b2fcd6f20191c7fc8557d99e9bbe26d2166a516a (diff) | |
download | tdebase-10639b722fa3d3ffa1f55b762cf91424f92dbf37.tar.gz tdebase-10639b722fa3d3ffa1f55b762cf91424f92dbf37.zip |
Simplify code since cmake minimum version is now 3.5
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit dc9ec2711be0fae16d667a8e9cb38d04ebd5ae41)
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e7ab1d23c..6dc8adc20 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,14 +53,8 @@ tde_setup_paths( ) ##### 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 |