fixed option for tests

This commit is contained in:
Erik Frojdh 2024-03-12 15:59:51 +01:00
parent c38b46df59
commit 3fee6b792d
2 changed files with 1 additions and 2 deletions

View File

@ -64,7 +64,7 @@ if(AARE_USE_WARNINGS)
)
endif()
if(AARE_BUILD_TESTS)
if(AARE_TESTS)
add_subdirectory(tests)
endif()

View File

@ -28,5 +28,4 @@ if(AARE_BUILD_TESTS)
#Work around to remove, this is not the way to do it =)
# target_include_directories(tests PRIVATE ${CMAKE_SOURCE_DIR}/include/common)
target_link_libraries(tests PRIVATE core aare_compiler_flags)
endif()