mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-20 06:50:10 +01:00
CMake: fix tests message
This commit is contained in:
parent
5bb8adbc32
commit
641d85b14e
1 changed files with 4 additions and 7 deletions
|
|
@ -397,13 +397,6 @@ else()
|
|||
message(STATUS "hyprpm is enabled (NO_HYPRPM not defined)")
|
||||
endif()
|
||||
|
||||
if(NO_TESTS)
|
||||
message(STATUS "building tests is disabled")
|
||||
else()
|
||||
message(STATUS "building tests is enabled (NO_TESTS not defined)")
|
||||
add_subdirectory(hyprtester)
|
||||
endif()
|
||||
|
||||
# binary and symlink
|
||||
install(TARGETS Hyprland)
|
||||
|
||||
|
|
@ -461,6 +454,8 @@ install(
|
|||
PATTERN "*.inc")
|
||||
|
||||
if(TESTS)
|
||||
message(STATUS "building tests is enabled TESTS")
|
||||
|
||||
enable_testing()
|
||||
add_custom_target(tests)
|
||||
|
||||
|
|
@ -471,4 +466,6 @@ if(TESTS)
|
|||
COMMAND hyprtester)
|
||||
|
||||
add_dependencies(tests hyprtester)
|
||||
else()
|
||||
message(STATUS "building tests is disabled")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue