mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-06-18 18:56:36 +02:00
fix cmake sdl finding, find_package for each cmake scope
This commit is contained in:
6
external/imgui/CMakeLists.txt
vendored
6
external/imgui/CMakeLists.txt
vendored
@ -64,9 +64,9 @@ elseif(VCPKG_TARGET_TRIPLET)
|
||||
target_link_libraries(imgui
|
||||
PUBLIC
|
||||
SDL2::SDL2
|
||||
PRIVATE
|
||||
SDL2::SDL2main
|
||||
SDL2::SDL2-static
|
||||
#PRIVATE
|
||||
#SDL2::SDL2main
|
||||
#SDL2::SDL2-static
|
||||
)
|
||||
else()
|
||||
target_include_directories(imgui PUBLIC "${SDL2_INCLUDE_DIR}")
|
||||
|
Reference in New Issue
Block a user