Skip to content

Commit

Permalink
Rename library PDB instead to avoid concurrency of access issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Xyon committed Jan 1, 2025
1 parent b068739 commit c201195
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Extern/Lua/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand All @@ -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})

Expand Down

0 comments on commit c201195

Please sign in to comment.