Commit 0947d80a authored by deuce's avatar deuce
Browse files

Include the library with dlopen() and friends.

parent 384c8a39
...@@ -55,6 +55,8 @@ endif() ...@@ -55,6 +55,8 @@ endif()
add_library(xpdev SHARED ${SOURCE}) add_library(xpdev SHARED ${SOURCE})
target_link_libraries(xpdev ${CMAKE_DL_LIBS})
CHECK_INCLUDE_FILES(inttypes.h HAS_INTTYPES_H) CHECK_INCLUDE_FILES(inttypes.h HAS_INTTYPES_H)
if(HAS_INTTYPES_H) if(HAS_INTTYPES_H)
target_compile_definitions(xpdev PUBLIC HAS_INTTYPES_H) target_compile_definitions(xpdev PUBLIC HAS_INTTYPES_H)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment