Fixed CMakeLists.
This commit is contained in:
parent
1992435fbb
commit
b683c928ee
@ -48,12 +48,15 @@ else ()
|
||||
message(STATUS "OpenSSL was not found.")
|
||||
endif ()
|
||||
|
||||
if (IS_OS_WINDOWS)
|
||||
target_include_directories(DeviceScanner PRIVATE "${USER_HOME_DIRECTORY}/ehs/include")
|
||||
target_link_directories(DeviceScanner PRIVATE "${USER_HOME_DIRECTORY}/ehs/lib")
|
||||
|
||||
if (IS_OS_WINDOWS)
|
||||
target_link_libraries(DeviceScanner PRIVATE avrt ws2_32 IPHLPAPI)
|
||||
elseif (IS_OS_LINUX)
|
||||
target_include_directories(DeviceScanner PRIVATE "${USER_HOME_DIRECTORY}/.local/include")
|
||||
target_link_directories(DeviceScanner PRIVATE "${USER_HOME_DIRECTORY}/.local/lib")
|
||||
|
||||
if (LINUX_WINDOW_SYSTEM STREQUAL "Wayland")
|
||||
target_link_libraries(DeviceScanner PRIVATE wayland-client)
|
||||
elseif (LINUX_WINDOW_SYSTEM STREQUAL "XCB")
|
||||
|
Loading…
x
Reference in New Issue
Block a user