Skip to content

Commit

Permalink
[Tests] Fix cmakelists for out-out-tree builds
Browse files Browse the repository at this point in the history
  • Loading branch information
CastagnaIT committed Oct 3, 2024
1 parent bbd8408 commit 22af1a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ add_executable(${BINARY}
../utils/XMLUtils.cpp
)

if(LINUX)
if(${CMAKE_SYSTEM_NAME} STREQUAL Linux)
SET(ADD_LINK_LIBS "atomic")
endif()

Expand Down

0 comments on commit 22af1a5

Please sign in to comment.