diff options
author | Michele Calgaro <[email protected]> | 2024-02-14 16:37:29 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-15 11:03:10 +0900 |
commit | 3fef2883847ae38f1b55e9a1d09f1a908a81f4b1 (patch) | |
tree | f4bd70819476a97a26fd4d1737b2aec256c559fa /CMakeLists.txt | |
parent | 03aa7238b34bb438632b6d572b008e32960f0895 (diff) | |
download | tdelibs-3fef2883847ae38f1b55e9a1d09f1a908a81f4b1.tar.gz tdelibs-3fef2883847ae38f1b55e9a1d09f1a908a81f4b1.zip |
Simplify code since cmake minimum version is now 3.5
Signed-off-by: Michele Calgaro <[email protected]>
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 e3fd6f294..ed2b99b96 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,14 +57,8 @@ list( APPEND TDECORE_LIBRARY_DIRS ${TQT_LIBRARY_DIRS} ) ##### 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" ${CMAKE_SOURCE_DIR}/admin/doxygen.sh --no-modulename |