1
0

Fixed tolua linking order.

Ref.: #1044.
This commit is contained in:
Mattes D 2014-06-30 21:00:06 +02:00
parent b9d4431f6f
commit 6b8529544e

View File

@ -44,8 +44,6 @@ file(GLOB BIN_SOURCE
"src/bin/*.c"
)
add_executable(tolua ${BIN_SOURCE})
add_library(tolualib ${LIB_SOURCE})
@ -54,4 +52,4 @@ if(UNIX)
target_link_libraries(tolua m ${DYNAMIC_LOADER})
endif()
target_link_libraries(tolua lua tolualib)
target_link_libraries(tolua tolualib lua)