From 6aba7a2ef601aca4a30d7d3b9e5e72722ec0912e Mon Sep 17 00:00:00 2001 From: CastagnaIT Date: Wed, 2 Oct 2024 16:35:08 +0200 Subject: [PATCH] test --- src/CompResources.h | 2 +- src/test/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CompResources.h b/src/CompResources.h index a33317a64..a60a53bf0 100644 --- a/src/CompResources.h +++ b/src/CompResources.h @@ -59,7 +59,7 @@ class ATTR_DLL_LOCAL CCompResources * \brief Get the current screen info. * \return The screen info. */ - ScreenInfo GetScreenInfo() { return m_screenInfo.load(); } + ScreenInfo GetScreenInfo() const { return m_screenInfo.load(); } /*! * \brief Set the screen info. diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 2ed234956..5e5dd4811 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -53,7 +53,7 @@ add_executable(${BINARY} ../utils/XMLUtils.cpp ) -target_link_libraries(${BINARY} PRIVATE ${BENTO4_LIBRARIES} ${PUGIXML_LIBRARIES} ${GTEST_LIBRARIES} Threads::Threads ${CMAKE_DL_LIBS}) +target_link_libraries(${BINARY} PRIVATE ${BENTO4_LIBRARIES} ${PUGIXML_LIBRARIES} ${GTEST_LIBRARIES} Threads::Threads ${CMAKE_DL_LIBS} atomic) set(TEST_DATA_DIR "${CMAKE_SOURCE_DIR}/src/test/manifests") add_test(NAME manifest_tests COMMAND ${BINARY} "${TEST_DATA_DIR}")