Skip to content

Commit b952d9c

Browse files
fix include issue
1 parent 1b6c7d5 commit b952d9c

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

ZEngine/ZEngine/Windows/Inputs/KeyCode.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#pragma once
22
#include <cstdint>
3+
#include <fmt/format.h>
34

45
namespace ZEngine::Windows::Inputs
56
{

__externals/externals.cmake

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@
2727

2828
if (MSVC)
2929
target_compile_options(assimp PRIVATE /Wv:18) # Fix zip lib compile issue
30-
elseif(APPLE)
30+
else()
3131
target_compile_options(assimp PRIVATE -Wno-shorten-64-to-32 -Wno-unused-but-set-variable -Wno-deprecated-declarations)
3232
endif()
3333

34-
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
35-
target_link_libraries(imgui PUBLIC ${CMAKE_DL_LIBS})
36-
endif()
37-
3834
add_library (ZEngineLibs INTERFACE)
3935
add_library(TetragramaLibs INTERFACE)
4036

37+
target_include_directories(ZEngineLibs INTERFACE
38+
Vulkan-Headers/build/install/include
39+
)
40+
4141
target_link_libraries(TetragramaLibs INTERFACE
4242
CLI11::CLI11
4343
)
@@ -52,10 +52,12 @@ target_link_libraries(ZEngineLibs INTERFACE
5252
EnTT
5353
assimp
5454
stduuid
55-
yaml-cpp
56-
spirv-cross-reflect spirv-cross-glsl
55+
yaml-cpp::yaml-cpp
56+
spirv-cross-reflect
57+
spirv-cross-glsl
5758
GPUOpen::VulkanMemoryAllocator
58-
glslang SPIRV
59+
glslang
60+
SPIRV
5961
SPIRV-Tools
6062
tlsf
6163
rapidhash

0 commit comments

Comments
 (0)