fix debug macro definition when cmake is not invoked from cmd
This commit is contained in:
@@ -112,10 +112,7 @@ LinkCurl(openVulkanoCpp)
|
||||
|
||||
add_compile_definitions(LIBARCHIVE_STATIC)
|
||||
add_compile_definitions(NOMINMAX)
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
add_compile_definitions(DEBUG)
|
||||
endif()
|
||||
add_compile_definitions("DEBUG=$<CONFIG:Debug>")
|
||||
|
||||
SetGlmDefines(openVulkanoCpp)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user