X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6a7381b164a6998bd2822355c58ab514c9dc79a7..1345c0a23da2a0dc0bbeb6a91783abef1b235fbe:/libs/CMakeLists.txt diff --git a/libs/CMakeLists.txt b/libs/CMakeLists.txt index 17b90799..f413010e 100644 --- a/libs/CMakeLists.txt +++ b/libs/CMakeLists.txt @@ -64,8 +64,9 @@ if ( BUILD_LIB_SMUX ) endif ( BUILD_LIB_SMUX ) if ( BUILD_LIB_SRVCONF ) + find_package ( EXPAT REQUIRED ) file ( GLOB PARSERS srvconf/parsers/*.cpp ) add_library ( srvconf STATIC srvconf/servconf.cpp srvconf/netunit.cpp ${PARSERS} ) target_include_directories ( srvconf PUBLIC srvconf/include ) - target_link_libraries ( srvconf crypto common ) + target_link_libraries ( srvconf crypto common EXPAT::EXPAT ) endif ( BUILD_LIB_SRVCONF )