build: Fixed building of unit tests

This commit is contained in:
WerWolv 2024-12-16 21:37:11 +01:00
parent a527a7f0b0
commit 8d9b056c8c
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
project(unit_tests) project(unit_tests)
add_dependencies(unit_tests imhex_all helpers algorithms plugins)
add_subdirectory(common) add_subdirectory(common)
target_compile_definitions(tests_common PUBLIC IMHEX_PROJECT_NAME="${PROJECT_NAME}") target_compile_definitions(tests_common PUBLIC IMHEX_PROJECT_NAME="${PROJECT_NAME}")
add_subdirectory(helpers) add_subdirectory(helpers)
add_subdirectory(algorithms) add_subdirectory(algorithms)
add_subdirectory(plugins) add_subdirectory(plugins)
add_dependencies(unit_tests imhex_all helpers algorithms plugins)