# Copyright (C) 2022 Tycho Softworks.
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

add_library(plugin_en MODULE en.cpp)
set_target_properties(plugin_en PROPERTIES PREFIX "" CXX_VISIBILITY_PRESET hidden)

if(MALLOC_FOUND)
    target_link_libraries(plugin_en PkgConfig::MALLOC)
endif()

install(TARGETS plugin_en  DESTINATION ${CMAKE_INSTALL_LIBDIR}/bordeaux)
