aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2023-01-25 22:57:55 +0800
committerLi Jin <dragon-fly@qq.com>2023-01-25 22:57:55 +0800
commitda1db43131e7dff4f74f59061fe704abd7564dd4 (patch)
treea2117c129e3d0c4cbef5d4d2068030de1899416b
parent2063353f773dd759c9151565272357c8e608c297 (diff)
downloadyuescript-da1db43131e7dff4f74f59061fe704abd7564dd4.tar.gz
yuescript-da1db43131e7dff4f74f59061fe704abd7564dd4.tar.bz2
yuescript-da1db43131e7dff4f74f59061fe704abd7564dd4.zip
fix CMakeList.txt
-rw-r--r--CMakeLists.txt3
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")
132endif() 132endif()
133 133
134if(CMAKE_DL_LIBS) 134if(CMAKE_DL_LIBS)
135 SET(YUE_DEP_LIBS ${LUA_LIBRARIES} " " ${CMAKE_DL_LIBS}) 135 target_link()
136 SET(YUE_DEP_LIBS ${LUA_LIBRARIES} " dl")
136else () 137else ()
137 SET(YUE_DEP_LIBS ${LUA_LIBRARIES}) 138 SET(YUE_DEP_LIBS ${LUA_LIBRARIES})
138endif() 139endif()