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:
parent
14af88ddbd
commit
8feae589dc
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user