find package plasma works now
This commit is contained in:
parent
7ca5c68ddb
commit
1156d89fce
@ -185,15 +185,21 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/plasma_version.h
|
||||
install(FILES
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/PlasmaConfig.cmake"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/PlasmaConfigVersion.cmake"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/PlasmaMacros.cmake"
|
||||
DESTINATION "${CMAKECONFIG_INSTALL_DIR}"
|
||||
COMPONENT Devel
|
||||
)
|
||||
install(FILES
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/PlasmaMacros.cmake"
|
||||
"FindPlasma.cmake"
|
||||
DESTINATION
|
||||
${DATA_INSTALL_DIR}/cmake/modules
|
||||
)
|
||||
|
||||
# install(EXPORT plasmaTargets DESTINATION "${CMAKECONFIG_INSTALL_DIR}"
|
||||
# FILE plasmaTargets.cmake COMPONENT Devel)
|
||||
|
||||
|
||||
# install(FILES
|
||||
# "${CMAKE_CURRENT_SOURCE_DIR}/PlasmaMacros.cmake"
|
||||
# "FindPlasma.cmake"
|
||||
# DESTINATION
|
||||
# ${DATA_INSTALL_DIR}/cmake/modules
|
||||
# )
|
||||
|
||||
|
||||
|
||||
|
@ -5,9 +5,7 @@
|
||||
set(Plasma_INSTALL_PREFIX "@PACKAGE_CMAKE_INSTALL_PREFIX@")
|
||||
set_and_check(Plasma_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
|
||||
|
||||
include("PlasmaMacros.cmake")
|
||||
#include("${CMAKE_CURRENT_SOURCE_DIR}/PlasmaMacros.cmake")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/PlasmaTargets.cmake")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/PlasmaMacros.cmake")
|
||||
|
||||
|
||||
macro(fsck)
|
||||
|
Loading…
x
Reference in New Issue
Block a user