build: Fix library linking and define setting issues

This commit is contained in:
WerWolv
2024-01-04 01:01:51 +01:00
parent 499711b9af
commit a8e2e132d1
3 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ project(unit_tests)
add_custom_target(unit_tests DEPENDS helpers algorithms)
add_subdirectory(common)
target_compile_definitions(tests_common PRIVATE IMHEX_PROJECT_NAME="${PROJECT_NAME}")
target_compile_definitions(tests_common PUBLIC IMHEX_PROJECT_NAME="${PROJECT_NAME}")
add_subdirectory(helpers)
add_subdirectory(algorithms)