9 lines
357 B
CMake
9 lines
357 B
CMake
add_library(pacman_plugin SHARED pacman_plugin.cpp)
|
|
target_include_directories(pacman_plugin PRIVATE ${CMAKE_SOURCE_DIR}/include)
|
|
set_target_properties(pacman_plugin PROPERTIES
|
|
PREFIX ""
|
|
OUTPUT_NAME "pacman"
|
|
INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib/PackageMapper/plugins"
|
|
)
|
|
install(TARGETS pacman_plugin DESTINATION lib/PackageMapper/plugins)
|