Skip to content

Commit a92b9b6

Browse files
committed
修复第三方依赖内的cmake错误
1 parent 2ac4320 commit a92b9b6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

third-party/lua-5.2.4/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ else()
2020
endif()
2121

2222
if(WIN32)
23-
target_compile_definitions(lua51 PUBLIC -DLUA_BUILD_AS_DLL)
23+
target_compile_definitions(lua52 PUBLIC -DLUA_BUILD_AS_DLL)
2424
else()
25-
target_compile_options(lua51 PUBLIC -fPIC)
25+
target_compile_options(lua52 PUBLIC -fPIC)
2626
endif(WIN32)
2727

2828
target_sources(lua52 PRIVATE

third-party/lua-5.3.5/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ else()
2020
endif()
2121

2222
if(WIN32)
23-
target_compile_definitions(lua51 PUBLIC -DLUA_BUILD_AS_DLL)
23+
target_compile_definitions(lua53 PUBLIC -DLUA_BUILD_AS_DLL)
2424
else()
25-
target_compile_options(lua51 PUBLIC -fPIC)
25+
target_compile_options(lua53 PUBLIC -fPIC)
2626
endif(WIN32)
2727

2828
target_sources(lua53 PRIVATE

third-party/lua-5.4.0/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ else()
2020
endif()
2121

2222
if(WIN32)
23-
target_compile_definitions(lua51 PUBLIC -DLUA_BUILD_AS_DLL)
23+
target_compile_definitions(lua54 PUBLIC -DLUA_BUILD_AS_DLL)
2424
else()
25-
target_compile_options(lua51 PUBLIC -fPIC)
25+
target_compile_options(lua54 PUBLIC -fPIC)
2626
endif(WIN32)
2727

2828
target_sources(lua54 PRIVATE

0 commit comments

Comments
 (0)