Files
c/kubernetes/PostTarget.cmake

9 lines
315 B
CMake
Raw Normal View History

2021-11-15 12:08:00 -03:00
if (TARGET websockets_shared)
2021-11-15 12:10:43 -03:00
set(WEBSOCKETS websockets_shared)
else()
2021-11-15 12:10:43 -03:00
set(WEBSOCKETS websockets)
endif()
2023-02-09 22:36:24 -03:00
target_include_directories(${pkgName} PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
target_link_libraries(${pkgName} PRIVATE yaml ${WEBSOCKETS})
2021-08-30 12:09:20 -03:00
set_target_properties(${pkgName} PROPERTIES LINKER_LANGUAGE C)