Skip to content

Commit

Permalink
[CMake] Enable SSE4.2 for cmsd.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal authored and gganis committed Nov 23, 2021
1 parent 57603e7 commit 6cf9c8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/XrdDaemons.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ target_link_libraries(
${EXTRA_LIBS}
${SOCKET_LIBRARY} )

if( CMAKE_COMPILER_IS_GNUCXX )
target_compile_options(cmsd INTERFACE -msse4.2)
endif()

#-------------------------------------------------------------------------------
# Install
#-------------------------------------------------------------------------------
Expand Down

0 comments on commit 6cf9c8f

Please sign in to comment.