Ömer Fadıl Usta (a74f8720) at 27 Mar 22:28
With cmake_min_required 3.0 cause compile problem on kf6 systems.
I'm closing/removing this PR since frameworks/kdoctools!69 (merged) solving out main problem. As like you said whenever i have time i will remove KF5 things and make whole bumping to make kde-dev-scripts as KF6 only within another PR
Is this one suitable or not ?
Ömer Fadıl Usta (a74f8720) at 27 Mar 19:18
Fix comment
Ömer Fadıl Usta (e92e17ed) at 27 Mar 12:01
Update file KF6DocToolsMacros.cmake
... and 2 more commits
@kossebau I will merge this if you give
Thanks cmake_policy(VERSION 3.16)
worked perfectly.
Ömer Fadıl Usta (3f2ff3eb) at 27 Mar 11:54
Update file KF6DocToolsMacros.cmake
giving a test will change PR after test , and thank you for info
@kossebau IN_LIST
caused needs of this patch so your response is important for me
@aacid ping
Without this explicit min cmake version info, old ( 3.0 or older ) version of cmake users got compile errors like mentioned in sdk/kde-dev-scripts!33
So we need this patch whether in directly here or all project other projects which will use doctools like in that PR
Ps: If this merged the other PR will be just optional.
Ömer Fadıl Usta (09746690) at 27 Mar 09:46
Fixes compile problem if any of old cmake users try to use it
Hello , in kf5 cmake 3.16 is also minimum cmake version this one was mistakenly forgotten so this change wont affect old users
Ömer Fadıl Usta (021a10c9) at 26 Mar 02:43
Bump min cmake versiom to fix compile problem
... and 1 more commit
Without this patch kdesrc-build gives compile problems :
-- Found KF6: success (found version "6.1.0") found components: DocTools
CMake Warning (dev) at /home/kde-dev/kde/usr/lib/cmake/KF6DocTools/KF6DocToolsMacros.cmake:170 (if):
Policy CMP0057 is not set: Support new IN_LIST if() operator. Run "cmake
--help-policy CMP0057" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
IN_LIST will be interpreted as an operator when the policy is set to NEW.
Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
doc/CMakeLists.txt:3 (kdoctools_create_manpage)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at /home/kde-dev/kde/usr/lib/cmake/KF6DocTools/KF6DocToolsMacros.cmake:170 (if):
if given arguments:
"INSTALL_DESTINATION" "IN_LIST" "ARGS_KEYWORDS_MISSING_VALUES"
Unknown arguments specified
Call Stack (most recent call first):
doc/CMakeLists.txt:3 (kdoctools_create_manpage)
-- Configuring incomplete, errors occurred!
With cmake_min_required 3.0 cause compile problem on kf6 systems.
Ömer Fadıl Usta (92a0960f) at 26 Mar 02:01
Bump min cmake versiom to fix compile problem
Ömer Fadıl Usta (28a297a0) at 25 Mar 08:03