more devendoring fixes

This commit is contained in:
tildearrow 2022-01-18 02:56:12 -05:00
parent 75118e404b
commit 1d5277c27b

View file

@ -29,6 +29,8 @@ if (NOT DEVENDOR_LIBRARIES)
add_subdirectory(extern/zlib EXCLUDE_FROM_ALL)
include_directories(extern/zlib ${CMAKE_CURRENT_BINARY_DIR}/extern/zlib)
else()
find_library(HAVE_Z z)
endif()
if (DEVENDOR_LIBRARIES)
@ -38,7 +40,7 @@ if (DEVENDOR_LIBRARIES)
include_directories(extern/imgui extern/IconFontCppHeaders extern/imgui/backends extern/igfd ${SDL_INCLUDE_DIR})
else()
find_package(SDL2 REQUIRED)
set(HAVE_SDL2 ${SDL2_LIBRARY})
set(HAVE_SDL2 ${SDL2_LIBRARIES})
include_directories(extern/imgui extern/IconFontCppHeaders extern/imgui/backends extern/igfd ${SDL2_INCLUDE_DIRS})
endif()
find_library(HAVE_JACK jack)