Skip to content

Commit 59af41f

Browse files
upgrade SPIRV-Tools submodule to fix macOS issue
1 parent 1040add commit 59af41f

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

ZEngine/ZEngine/CMakeLists.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ target_include_directories (zEngineLib
1616

1717
target_sources(zEngineLib PRIVATE ${CPP_FILES_LIST})
1818

19-
if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
20-
target_compile_definitions (zEngineLib PUBLIC ENABLE_VULKAN_VALIDATION_LAYER)
21-
endif()
2219
target_compile_definitions (zEngineLib
2320
PUBLIC
2421
ZENGINE_PLATFORM
@@ -27,14 +24,9 @@ target_compile_definitions (zEngineLib
2724
)
2825

2926
if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
30-
target_compile_definitions (zEngineLib PUBLIC VK_USE_PLATFORM_WIN32_KHR NOMINMAX)
27+
target_compile_definitions (zEngineLib PUBLIC NOMINMAX)
3128
endif()
3229

33-
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
34-
target_link_libraries(zEngineLib PUBLIC stdc++fs)
35-
target_compile_definitions (zEngineLib PUBLIC VK_USE_PLATFORM_WAYLAND_KHR)
36-
endif ()
37-
3830
target_link_libraries (zEngineLib PUBLIC imported::External_libs)
3931

4032
if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")

0 commit comments

Comments
 (0)