mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 10:13:51 +01:00
chore(patches): Apply some patches that Debian applies when building deb packages.
This commit is contained in:
parent
83377c699c
commit
cd06553d89
@ -162,7 +162,7 @@ else()
|
||||
target_link_libraries(Foundation PUBLIC pthread ${CMAKE_DL_LIBS} rt)
|
||||
else()
|
||||
target_compile_definitions(Foundation PUBLIC _XOPEN_SOURCE=500 POCO_HAVE_FD_EPOLL)
|
||||
target_link_libraries(Foundation PUBLIC pthread ${CMAKE_DL_LIBS} rt)
|
||||
target_link_libraries(Foundation PUBLIC pthread atomic ${CMAKE_DL_LIBS} rt)
|
||||
endif()
|
||||
endif(APPLE)
|
||||
endif(UNIX AND NOT ANDROID)
|
||||
|
@ -47,6 +47,10 @@ if(UNIX AND NOT ANDROID)
|
||||
target_link_libraries(Foundation-testrunner PUBLIC pthread)
|
||||
endif(UNIX AND NOT ANDROID)
|
||||
|
||||
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
|
||||
target_link_libraries(Foundation-testrunner PUBLIC atomic)
|
||||
endif()
|
||||
|
||||
# TestApp
|
||||
add_executable(TestApp src/TestApp.cpp)
|
||||
# The test is run in the runtime directory. So the TestApp is built there too because it is used by the tests
|
||||
|
Loading…
Reference in New Issue
Block a user