mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-31 09:32:03 +02:00
Move some logic out of the tomahawk_add_plugin macro to a tomahawk_add_library macro
This commit is contained in:
@@ -345,9 +345,10 @@ file(RELATIVE_PATH CONF_REL_INCLUDE_DIR "${CMAKE_INSTALL_FULL_CMAKEDIR}" "${CMAK
|
||||
|
||||
configure_file(TomahawkConfig.cmake.in "${PROJECT_BINARY_DIR}/TomahawkConfig.cmake" @ONLY)
|
||||
configure_file(TomahawkConfigVersion.cmake.in "${PROJECT_BINARY_DIR}/TomahawkConfigVersion.cmake" @ONLY)
|
||||
|
||||
file(COPY TomahawkUse.cmake DESTINATION "${PROJECT_BINARY_DIR}")
|
||||
file(COPY TomahawkAddPlugin.cmake DESTINATION "${PROJECT_BINARY_DIR}")
|
||||
|
||||
file(COPY TomahawkAddLibrary.cmake DESTINATION "${PROJECT_BINARY_DIR}")
|
||||
|
||||
# Install the cmake files
|
||||
install(
|
||||
@@ -356,6 +357,7 @@ install(
|
||||
"${PROJECT_BINARY_DIR}/TomahawkConfigVersion.cmake"
|
||||
"${PROJECT_BINARY_DIR}/TomahawkUse.cmake"
|
||||
"${PROJECT_BINARY_DIR}/TomahawkAddPlugin.cmake"
|
||||
"${PROJECT_BINARY_DIR}/TomahawkAddLibrary.cmake"
|
||||
DESTINATION
|
||||
"${CMAKE_INSTALL_CMAKEDIR}"
|
||||
)
|
||||
|
Reference in New Issue
Block a user