[Build] Fixed incorrect destination for VS executable

This commit is contained in:
Gliniak
2026-03-20 21:54:59 +01:00
parent b1983bab68
commit 3791149f34

View File

@@ -96,9 +96,13 @@ if(MSVC)
/ignore:4221
)
# In VS we're in build/vs directory. For backward compability move back directory above.
cmake_path(GET CMAKE_BINARY_DIR PARENT_PATH CMAKE_PARENT_DIR)
include_directories(${CMAKE_PARENT_DIR})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_PARENT_DIR}/bin/${XE_PLATFORM_NAME}")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_PARENT_DIR}/bin/${XE_PLATFORM_NAME}")
# Global Windows system libraries
link_libraries(
ntdll wsock32 ws2_32 xinput comctl32 shcore shlwapi dxguid bcrypt