Skip to content

Commit bd92c49

Browse files
committed
cmake: -DLUA_USE_POPEN
1 parent 17975d4 commit bd92c49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/BuildLua.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ macro(build_lua LUA_VERSION)
6161
# not be used when making a shared object; recompile with -fPIC".
6262
set(CFLAGS "${CFLAGS} -fPIC")
6363

64+
set(CFLAGS "${CFLAGS} -DLUA_USE_POPEN")
65+
6466
include(ExternalProject)
6567

6668
set(LUA_LIBRARY ${PROJECT_BINARY_DIR}/lua-${LUA_VERSION}/source/liblua.a)

0 commit comments

Comments
 (0)