misc/liblua/CMakeLists.txt
changeset 8316 89232b2fa1d6
parent 7718 97ba379164ec
child 8330 aaefa587e277
child 9205 abce6011f86c
equal deleted inserted replaced
8315:b3875e10a8ae 8316:89232b2fa1d6
     7     add_library(lua SHARED ${lua_src})
     7     add_library(lua SHARED ${lua_src})
     8 
     8 
     9     set(LUA_LIBRARY lua.dll)
     9     set(LUA_LIBRARY lua.dll)
    10 
    10 
    11     set_target_properties(lua PROPERTIES PREFIX "")
    11     set_target_properties(lua PROPERTIES PREFIX "")
    12     install(TARGETS lua RUNTIME DESTINATION ${target_dir})
    12     install(TARGETS lua RUNTIME DESTINATION ${target_library_install_dir})
    13 else(WIN32)
    13 else(WIN32)
    14     add_definitions(-DLUA_USE_LINUX)
    14     add_definitions(-DLUA_USE_LINUX)
    15     add_library(lua STATIC ${lua_src})
    15     add_library(lua STATIC ${lua_src})
    16     set(LUA_LIBRARY lua)
    16     set(LUA_LIBRARY lua)
    17 endif(WIN32)
    17 endif(WIN32)