diff options
Diffstat (limited to '')
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8918eab..13fec5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -132,7 +132,8 @@ elseif (${CMAKE_BUILD_TYPE} MATCHES "Release") | |||
| 132 | endif() | 132 | endif() |
| 133 | 133 | ||
| 134 | if(CMAKE_DL_LIBS) | 134 | if(CMAKE_DL_LIBS) |
| 135 | SET(YUE_DEP_LIBS ${LUA_LIBRARIES} " " ${CMAKE_DL_LIBS}) | 135 | target_link() |
| 136 | SET(YUE_DEP_LIBS ${LUA_LIBRARIES} " dl") | ||
| 136 | else () | 137 | else () |
| 137 | SET(YUE_DEP_LIBS ${LUA_LIBRARIES}) | 138 | SET(YUE_DEP_LIBS ${LUA_LIBRARIES}) |
| 138 | endif() | 139 | endif() |
