diff --git a/src/xpdev/CMakeLists.txt b/src/xpdev/CMakeLists.txt index d36dbab09a813d99baf080df70d1bb4a945daf67..40430e58fc7d23f8b5dcf0a9fc049ad191ac6c44 100644 --- a/src/xpdev/CMakeLists.txt +++ b/src/xpdev/CMakeLists.txt @@ -55,6 +55,8 @@ endif() add_library(xpdev SHARED ${SOURCE}) +target_link_libraries(xpdev ${CMAKE_DL_LIBS}) + CHECK_INCLUDE_FILES(inttypes.h HAS_INTTYPES_H) if(HAS_INTTYPES_H) target_compile_definitions(xpdev PUBLIC HAS_INTTYPES_H)