зеркало из https://github.com/Azure/c-pal.git
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:
Родитель
cf83dc4ed7
Коммит
99dc1e943e
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче