Skip to content

Add CMake compatibilty for MinGW #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
wip
  • Loading branch information
aviborg committed Feb 15, 2023
commit e2e6d81440581a960861894956f80cc0891418e6
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ target_compile_definitions(video-defs PRIVATE "_GNU_SOURCE")


find_package(json-c CONFIG REQUIRED)
target_link_libraries(video-defs PRIVATE json-c::json-c json-c::json-c-static)
target_link_libraries(video-defs PRIVATE ulog h264 h265 video-defs_compiler_flags)
target_link_libraries(video-defs PUBLIC json-c::json-c json-c::json-c-static)
target_link_libraries(video-defs PUBLIC ulog h264 h265 video-defs_compiler_flags)