mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-07 05:10:39 +02:00
fixed option for tests
This commit is contained in:
parent
c38b46df59
commit
3fee6b792d
@ -64,7 +64,7 @@ if(AARE_USE_WARNINGS)
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(AARE_BUILD_TESTS)
|
if(AARE_TESTS)
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -28,5 +28,4 @@ if(AARE_BUILD_TESTS)
|
|||||||
#Work around to remove, this is not the way to do it =)
|
#Work around to remove, this is not the way to do it =)
|
||||||
# target_include_directories(tests PRIVATE ${CMAKE_SOURCE_DIR}/include/common)
|
# target_include_directories(tests PRIVATE ${CMAKE_SOURCE_DIR}/include/common)
|
||||||
target_link_libraries(tests PRIVATE core aare_compiler_flags)
|
target_link_libraries(tests PRIVATE core aare_compiler_flags)
|
||||||
|
|
||||||
endif()
|
endif()
|
Loading…
x
Reference in New Issue
Block a user