linux reals shoud bring in the include for linux (#386)

* also have target_include_directories(pal_ll_win32 with common/inc

* linux_reals should bring in the interface of linux
This commit is contained in:
anporumb 2024-10-11 13:30:43 -07:00 коммит произвёл GitHub
Родитель cf83dc4ed7
Коммит 99dc1e943e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -19,7 +19,7 @@ include_directories(../interfaces/inc)
add_library(pal_ll_linux ${pal_ll_linux_h_files} ${pal_ll_linux_c_files} ${pal_ll_linux_md_files})
set_target_properties(pal_ll_linux PROPERTIES LINKER_LANGUAGE C)
target_link_libraries(pal_ll_linux pal_ll_interfaces pal_interfaces rt pthread c_logging_v2 umock_c)
target_include_directories(pal_ll_linux PUBLIC ${CMAKE_CURRENT_LIST_DIR}/inc)
target_include_directories(pal_ll_linux PUBLIC ${CMAKE_CURRENT_LIST_DIR}/inc ../../common/inc)
# Set CMAKE_INSTALL_* if not defined
include(GNUInstallDirs)

Просмотреть файл

@ -15,5 +15,5 @@ include_directories(${CMAKE_CURRENT_LIST_DIR}/../src)
add_library(linux_ll_reals ${linux_ll_reals_c_files} ${linux_ll_reals_h_files})
set_target_properties(linux_ll_reals PROPERTIES LINKER_LANGUAGE C)
target_include_directories(linux_ll_reals PUBLIC . ${CMAKE_CURRENT_LIST_DIR}/../../../common/reals ${CMAKE_CURRENT_LIST_DIR}/../../interfaces/inc)
target_include_directories(linux_ll_reals PUBLIC . ${CMAKE_CURRENT_LIST_DIR}/../../../common/reals ${CMAKE_CURRENT_LIST_DIR}/../../interfaces/inc "$<TARGET_PROPERTY:pal_ll_linux,INTERFACE_INCLUDE_DIRECTORIES>")
target_link_libraries(linux_ll_reals pal_ll_interfaces_reals rt uuid pthread umock_c)