mirror of
https://github.com/hyprwm/hyprlang.git
synced 2024-11-16 18:25:57 +01:00
CMake: install lib and fix test path
This commit is contained in:
parent
b355124950
commit
57fdf6038e
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ target_include_directories( hyprlang
|
|||
PRIVATE "./src"
|
||||
)
|
||||
|
||||
install(TARGETS hyprlang)
|
||||
|
||||
add_executable(hyprlang_test "tests/main.cpp")
|
||||
target_link_libraries(hyprlang_test PRIVATE hyprlang)
|
||||
add_test(NAME "Parsing" WORKING_DIRECTORY "./tests/" COMMAND hyprlang_test "parse")
|
||||
add_test(NAME "Parsing" WORKING_DIRECTORY "../tests/" COMMAND hyprlang_test "parse")
|
||||
|
|
Loading…
Reference in a new issue