1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 12:27:52 +00:00

Install libconky_core, too, if wanted.

If someone decides to install the testing build, it doesn't include
libconky_core.

This fixes #756.
This commit is contained in:
Brenden Matthews 2019-01-08 19:47:37 -05:00
parent 14af88ddbd
commit 8feae589dc

View File

@ -288,6 +288,10 @@ if(BUILD_TESTS)
target_link_libraries(conky_core ${conky_libs})
add_executable(conky main.cc)
target_link_libraries(conky conky_core ${conky_libs})
install(TARGETS conky_core
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
else()
add_executable(conky main.cc ${conky_sources} ${optional_sources})
target_link_libraries(conky ${conky_libs})