New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configure error #100
Comments
Please note the dependencies: @@ -47,7 +47,6 @@
include(CPack)
include(GNUInstallDirs)
include(ECMInstallIcons)
-include(ECMConfiguredInstall)
include(KDEInstallDirs)
find_package(PolkitQt5-1 REQUIRED)
@@ -146,7 +145,10 @@
install(FILES data/dev.jonmagon.kdiskmark.helperinterface.conf DESTINATION ${KDE_INSTALL_DBUSDIR}/system.d)
install(FILES data/dev.jonmagon.kdiskmark.helper.policy DESTINATION ${POLKITQT-1_POLICY_FILES_INSTALL_DIR})
-ecm_install_configured_files(
- INPUT data/dev.jonmagon.kdiskmark.helperinterface.service.in
- DESTINATION ${KDE_INSTALL_DBUSDIR}/system-services
-)
+file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/dev.jonmagon.kdiskmark.helperinterface.service
+"[D-BUS Service]
+Name=dev.jonmagon.kdiskmark.helperinterface
+Exec=${KDE_INSTALL_FULL_LIBEXECDIR}/kdiskmark_helper
+User=root
+")
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/dev.jonmagon.kdiskmark.helperinterface.service DESTINATION ${KDE_INSTALL_DBUSDIR}/system-services) Actually, I would like to keep it as it is now using ECMConfiguredInstall. |
thanks. workaround is work. For compatibility, CMake is excluding the GENERATED source file(s):
from processing by AUTOMOC and AUTOUIC. If any of the files should be
This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done ~/build/KDiskMark/KDiskMark/build$ cpack -G DEB |
Description:
cmake config error
~/build/KDiskMark/KDiskMark/build$ cmake -D CMAKE_BUILD_TYPE=Release ..
-- The CXX compiler identification is GNU 9.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:50 (include):
include could not find load file:
-- Installing in the same prefix as Qt, adopting their path scheme.
CMake Error at CMakeLists.txt:149 (ecm_install_configured_files):
Unknown CMake command "ecm_install_configured_files".
-- Configuring incomplete, errors occurred!
See also "/home/johndoe/build/KDiskMark/KDiskMark/build/CMakeFiles/CMakeOutput.log".
cmake-extras 1.5-1
extra-cmake-modules 5.68.0-0ubuntu1
installed
last time successful build kdiskmark_2.3.0
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: