diff --git a/CMakeLists.txt b/CMakeLists.txt index dc977c06..313e1a04 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,6 +67,7 @@ else() endif() if(PK_USE_DYLIB) + add_definitions(-DPK_USE_DYLIB) target_link_libraries(${PROJECT_NAME} ${CMAKE_DL_LIBS}) endif()