############################################################################
# CMakeLists.txt file for building ROOT net/rootd package
# @author Pere Mato, CERN
############################################################################

ROOT_EXECUTABLE(rootd *.cxx ${CMAKE_SOURCE_DIR}/core/clib/src/strlcpy.c
                      LIBRARIES rpdutil rsa ${GLOBUS_LIBRARIES} ${OPENSSL_LIBRARIES} ${CRYPTLIBS})

ROOT_INSTALL_HEADERS()

############################################################################
# CMakeLists.txt file for building ROOT net/rootd package
# @author Pere Mato, CERN
############################################################################

ROOT_EXECUTABLE(rootd *.cxx ${CMAKE_SOURCE_DIR}/core/clib/src/strlcpy.c
                      LIBRARIES rpdutil rsa ${GLOBUS_LIBRARIES} ${OPENSSL_LIBRARIES} ${CRYPTLIBS})

if(builtin_openssl)
  ROOT_ADD_BUILTIN_DEPENDENCIES(rootd OPENSSL)
endif()

ROOT_INSTALL_HEADERS()

Fix issue when building with builtin_openssl
Fix issue when building with builtin_openssl
