MESSAGE("Sources: ${SRCS}")
INCLUDE(FindPkgConfig)
-pkg_check_modules(PKG_CLIENT REQUIRED ${DEPS})
+pkg_check_modules(PKG_CLIENT_DUMMY REQUIRED ${DEPS})
-FOREACH(flag ${PKG_CLIENT_CFLAGS})
+FOREACH(flag ${PKG_CLIENT_DUMMY_CFLAGS})
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}")
ENDFOREACH(flag)
ADD_LIBRARY(${target} SHARED ${SRCS})
-TARGET_LINK_LIBRARIES(${target} ${PKG_CLIENT_LDFLAGS})
+TARGET_LINK_LIBRARIES(${target} ${PKG_CLIENT_DUMMY_LDFLAGS})
SET_TARGET_PROPERTIES(${target} PROPERTIES SOVERSION ${MAJORVER})
SET_TARGET_PROPERTIES(${target} PROPERTIES VERSION ${FULLVER})
MESSAGE("Sources: ${SRCS}")
INCLUDE(FindPkgConfig)
-pkg_check_modules(PKG_SERVER REQUIRED ${DEPS})
+pkg_check_modules(PKG_SERVER_DUMMY REQUIRED ${DEPS})
-FOREACH(flag ${PKG_SERVER_CFLAGS})
+FOREACH(flag ${PKG_SERVER_DUMMY_CFLAGS})
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}")
ENDFOREACH(flag)
ADD_LIBRARY(${target} SHARED ${SRCS})
-TARGET_LINK_LIBRARIES(${target} ${PKG_SERVER_LDFLAGS})
+TARGET_LINK_LIBRARIES(${target} ${PKG_SERVER_DUMMY_LDFLAGS})
SET_TARGET_PROPERTIES(${target} PROPERTIES SOVERSION ${MAJORVER})
SET_TARGET_PROPERTIES(${target} PROPERTIES VERSION ${FULLVER})