Commit 445a475f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Revert this part as it doesn't use ecm

parent 252eff7d
Pipeline #50168 passed with stage
in 25 minutes and 53 seconds
......@@ -176,22 +176,22 @@ if(${PROJECT_NAME}_MAKE_INSTALL)
include(GNUInstallDirs)
if(NOT DEFINED CMAKE_INSTALL_CMAKEDIR)
set(CMAKE_INSTALL_CMAKEDIR
"${KDE_INSTALL_LIBDIR}/cmake/${_PACKAGE_NAME}"
"${CMAKE_INSTALL_LIBDIR}/cmake/${_PACKAGE_NAME}"
CACHE STRING "CMake packages")
endif()
install(FILES "${_ROOT}/mkdio.h"
DESTINATION "${KDE_INSTALL_INCLUDEDIR}")
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
target_include_directories(libmarkdown INTERFACE
$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR}>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)
set(_TARGETS libmarkdown markdown)
if(${PROJECT_NAME}_INSTALL_SAMPLES)
list(APPEND _TARGETS mkd2html makepage)
endif()
install(TARGETS ${_TARGETS} EXPORT ${_PACKAGE_NAME}-targets
RUNTIME DESTINATION "${KDE_INSTALL_BINDIR}"
LIBRARY DESTINATION "${KDE_INSTALL_LIBDIR}"
ARCHIVE DESTINATION "${KDE_INSTALL_LIBDIR}")
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}")
install(EXPORT ${_PACKAGE_NAME}-targets
NAMESPACE ${_PACKAGE_NAME}::
DESTINATION "${CMAKE_INSTALL_CMAKEDIR}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment