blueloveTH 2 年之前
父节点
当前提交
a889df2c09
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      CMakeLists.txt

+ 1 - 0
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()