diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-14 16:30:32 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-15 10:59:48 +0900 |
commit | 7f582d9a8f6bd7e61e2fdfb041ce232a0d693a7b (patch) | |
tree | 9f46460968b0b682a3bf3f84cc7ca04faac8f044 | |
parent | 441214a9951e1043e3d8352bd479f4a3428053dc (diff) | |
download | tdeutils-7f582d9a8f6bd7e61e2fdfb041ce232a0d693a7b.tar.gz tdeutils-7f582d9a8f6bd7e61e2fdfb041ce232a0d693a7b.zip |
Simplify code since cmake minimum version is now 3.5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 57be2f09e26a5eec6a4a810f070658b98e11120c)
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b962b6d..c84caa7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -133,14 +133,8 @@ option( BUILD_TDEFILEREPLACE "Build tdefilereplace" ${BUILD_ALL} ) ##### 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 |