mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-15 10:48:04 +00:00
Update CMakeLists.txt
This commit is contained in:
parent
faf2f926b8
commit
9af4b6384d
@ -43,4 +43,8 @@ set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|
||||
target_include_directories(minimal_imgui PUBLIC ${sokol_SOURCE_DIR} ${imgui_SOURCE_DIR})
|
||||
if(WIN32)
|
||||
target_link_libraries(minimal_imgui PUBLIC kernel32 user32 shell32 gdi32)
|
||||
elseif(APPLE)
|
||||
target_link_libraries(minimal_imgui PUBLIC "-framework Cocoa" "-framework QuartzCore" "-framework OpenGL")
|
||||
elseif(UNIX AND NOT APPLE)
|
||||
target_link_libraries(minimal_imgui PUBLIC X11 Xi Xcursor GL dl pthread m)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user