9 lines
351 B
CMake
9 lines
351 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/PacManager/plugins"
|
|
)
|
|
install(TARGETS pacman_plugin DESTINATION lib/PacManager/plugins)
|