From 57fdf6038e19e1fb446686681845ce0b6b1a3699 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Thu, 28 Dec 2023 23:11:27 +0200 Subject: [PATCH] CMake: install lib and fix test path --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c93f26..4fecefb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")