diff --git a/Extern/Lua/CMakeLists.txt b/Extern/Lua/CMakeLists.txt index 602710174..b844369fc 100644 --- a/Extern/Lua/CMakeLists.txt +++ b/Extern/Lua/CMakeLists.txt @@ -21,9 +21,9 @@ add_executable(lua-exe ${LUA_SRC_FILES} "${lua_SOURCE_DIR}/lua.c") set_target_properties(lua-exe PROPERTIES OUTPUT_NAME lua) set_target_properties(lua-exe PROPERTIES - ARCHIVE_OUTPUT_DIRECTORY ${ORBITER_BINARY_ROOT_DIR}/Utils/ - LIBRARY_OUTPUT_DIRECTORY ${ORBITER_BINARY_ROOT_DIR}/Utils/ - RUNTIME_OUTPUT_DIRECTORY ${ORBITER_BINARY_ROOT_DIR}/Utils/ + ARCHIVE_OUTPUT_DIRECTORY ${ORBITER_BINARY_ROOT_DIR} + LIBRARY_OUTPUT_DIRECTORY ${ORBITER_BINARY_ROOT_DIR} + RUNTIME_OUTPUT_DIRECTORY ${ORBITER_BINARY_ROOT_DIR} ) install(TARGETS lua-exe RUNTIME DESTINATION ${ORBITER_INSTALL_ROOT_DIR}) @@ -38,6 +38,7 @@ set_target_properties(lua PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${ORBITER_BINARY_ROOT_DIR} LIBRARY_OUTPUT_DIRECTORY ${ORBITER_BINARY_ROOT_DIR} RUNTIME_OUTPUT_DIRECTORY ${ORBITER_BINARY_ROOT_DIR} + COMPILE_PDB_NAME "lua_lib.pdb" ) install(TARGETS lua DESTINATION ${ORBITER_INSTALL_ROOT_DIR})