mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Ease development with dirty dependency directory
This commit is contained in:
parent
20488afdd1
commit
7e91f81957
|
|
@ -40,6 +40,10 @@ if(OS_MACOS)
|
|||
target_link_libraries(${PROJECT_NAME} PRIVATE "-framework Security")
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE /wd4834)
|
||||
endif()
|
||||
|
||||
target_sources(
|
||||
${PROJECT_NAME} PRIVATE macro-action-http.cpp macro-action-http.hpp
|
||||
key-value-list.cpp key-value-list.hpp)
|
||||
|
|
|
|||
|
|
@ -72,6 +72,10 @@ if(OS_MACOS)
|
|||
target_link_libraries(${PROJECT_NAME} PRIVATE "-framework Security")
|
||||
endif()
|
||||
|
||||
if(MSVC)
|
||||
target_compile_options(${PROJECT_NAME} PRIVATE /wd4834)
|
||||
endif()
|
||||
|
||||
target_sources(
|
||||
${PROJECT_NAME}
|
||||
PRIVATE category-selection.cpp
|
||||
|
|
|
|||
|
|
@ -77,13 +77,14 @@ if(NOT libusb_HEADER_DIR)
|
|||
"libusb sources are available under: ${libusb_DEPS_DIR}")
|
||||
return()
|
||||
endif()
|
||||
if(NOT libusb_LINK_LIBRARIES)
|
||||
if(NOT libusb_LINK_LIBRARIES OR NOT EXISTS "${libusb_LINK_LIBRARIES}")
|
||||
message(WARNING "libusb library not found. Make sure libusb is installed. "
|
||||
"USB condition will be disabled!\n\n"
|
||||
"libusb sources are available under: ${libusb_DEPS_DIR}")
|
||||
return()
|
||||
endif()
|
||||
if(NOT OS_LINUX AND NOT libusb_RUNTIME_LIBRARY)
|
||||
if(NOT OS_LINUX AND (NOT libusb_RUNTIME_LIBRARY OR NOT EXISTS
|
||||
"${libusb_RUNTIME_LIBRARY}"))
|
||||
message(
|
||||
WARNING "libusb runtime library not found. Make sure libusb is installed. "
|
||||
"USB condition will be disabled!\n\n"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user