Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
corrected linking to wsrlua
Browse files Browse the repository at this point in the history
  • Loading branch information
drahosp committed Feb 6, 2013
1 parent 60fbec7 commit 87cbd40
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions CMakeLists.txt
Expand Up @@ -14,15 +14,16 @@ include_directories(${LUA_INCLUDE_DIR})
add_executable(glue glue.c glue.rc)
add_executable(srlua srlua.c srlua.rc)

target_link_libraries(glue ${LUA_LIBRARIES})
target_link_libraries(srlua ${LUA_LIBRARIES})

# No console version on windows
if (WIN32)
add_executable(wsrlua WIN32 srlua.c srlua.rc)
install_executable(wsrlua)
add_executable(wsrlua WIN32 srlua.c srlua.rc)
target_link_libraries(wsrlua ${LUA_LIBRARIES})
install_executable(wsrlua)
endif()

target_link_libraries(glue ${LUA_LIBRARIES})
target_link_libraries(srlua ${LUA_LIBRARIES})

install_executable(glue srlua)
install_data(README.md)
install_test(test.lua)

0 comments on commit 87cbd40

Please sign in to comment.