[Build] Fixed incorrect destination for VS executable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user