File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -427,3 +427,5 @@ CMakeSettings.json
427427
428428# Vcpkg Install Directory
429429vcpkg_installed /
430+ __externals /
431+ .gdb_history
Original file line number Diff line number Diff line change 128128 "binaryDir" : " Result.Linux.x64.Debug" ,
129129 "generator" : " Ninja" ,
130130 "cacheVariables" : {
131- "CMAKE_INSTALL_PREFIX" : " Result.Linux.x64.Debug"
131+ "CMAKE_INSTALL_PREFIX" : " Result.Linux.x64.Debug" ,
132+ "GLFW_BUILD_WAYLAND" : " ON" ,
132133 }
133134 },
134135 {
Original file line number Diff line number Diff line change @@ -68,12 +68,16 @@ target_compile_definitions (zEngineLib
6868
6969target_link_libraries (zEngineLib PUBLIC imported ::ZEngine_External_Dependencies)
7070
71- if (${ CMAKE_SYSTEM_NAME} STREQUAL "Windows" )
71+ if (CMAKE_SYSTEM_NAME STREQUAL "Windows" )
7272 target_link_libraries (zEngineLib PUBLIC imported ::cppwinrt_headers WindowsApp.lib)
73- target_compile_definitions (zEngineLib PUBLIC NOMINMAX)
73+ target_compile_definitions (zEngineLib PUBLIC NOMINMAX GLFW_EXPOSE_NATIVE_WIN32 )
7474endif ()
7575
76- if (${ CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
76+ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" )
7777 target_link_libraries (zEngineLib PUBLIC stdc++fs)
7878 target_compile_definitions (zEngineLib PUBLIC GLFW_EXPOSE_NATIVE_WAYLAND)
7979endif ()
80+
81+ if (CMAKE_SYSTEM_NAME STREQUAL "Darwin" )
82+ target_compile_definitions (zEngineLib PUBLIC GLFW_EXPOSE_NATIVE_COCOA)
83+ endif ()
You can’t perform that action at this time.
0 commit comments