mirror of
https://github.com/hyprwm/hyprcursor.git
synced 2024-12-21 17:59:48 +01:00
CMake: allow installing tests
This commit is contained in:
parent
d60e1e01e6
commit
53a23e4b41
1 changed files with 6 additions and 0 deletions
|
@ -119,3 +119,9 @@ install(TARGETS hyprcursor-util)
|
|||
install(DIRECTORY "include/hyprcursor" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
install(FILES ${CMAKE_BINARY_DIR}/hyprcursor.pc
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
||||
|
||||
if(INSTALL_TESTS)
|
||||
install(TARGETS hyprcursor_test1)
|
||||
install(TARGETS hyprcursor_test2)
|
||||
install(TARGETS hyprcursor_test_c)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue