mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-06-01 01:17:48 +00:00
Replace add_definitions with add_compile_definitions
This commit is contained in:
parent
a3078999ea
commit
696ecd674d
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ if (VMA_BUILD_EXAMPLE_APP)
|
|||
# Visual Studio specific settings
|
||||
if(${CMAKE_GENERATOR} MATCHES "Visual Studio.*")
|
||||
# Use Unicode instead of multibyte set
|
||||
add_definitions(-DUNICODE -D_UNICODE)
|
||||
add_compile_definitions(UNICODE _UNICODE)
|
||||
|
||||
# Set VmaExample as startup project
|
||||
set_property(DIRECTORY ${PROJECT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT "VmaExample")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue