mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-21 23:56:54 +02:00
removing POCO_OS_* declarations from cmake and biicode configuration
This commit is contained in:
@@ -24,12 +24,11 @@ endif(POCO_STATIC)
|
||||
|
||||
# OS Detection
|
||||
if(WIN32)
|
||||
target_compile_definitions(${BII_BLOCK_TARGET} INTERFACE -DPOCO_OS_FAMILY_WINDOWS -DUNICODE -D_UNICODE)
|
||||
target_compile_definitions(${BII_BLOCK_TARGET} INTERFACE -DUNICODE -D_UNICODE)
|
||||
#set(SYSLIBS iphlpapi gdi32 odbc32)
|
||||
endif(WIN32)
|
||||
|
||||
if (UNIX AND NOT ANDROID )
|
||||
target_compile_definitions(${BII_BLOCK_TARGET} INTERFACE -DPOCO_OS_FAMILY_UNIX )
|
||||
# Standard 'must be' defines
|
||||
if (APPLE)
|
||||
target_compile_definitions(${BII_BLOCK_TARGET} INTERFACE -DPOCO_HAVE_IPv6 -DPOCO_NO_STAT64)
|
||||
@@ -81,4 +80,4 @@ find_package(APR)
|
||||
find_package(Apache2)
|
||||
if(APRUTIL_FOUND AND APACHE_FOUND)
|
||||
target_include_directories(${BII_BLOCK_TARGET} INTERFACE "${APACHE_INCLUDE_DIR}" "${APRUTIL_INCLUDE_DIR}" )
|
||||
endif(APRUTIL_FOUND AND APACHE_FOUND)
|
||||
endif(APRUTIL_FOUND AND APACHE_FOUND)
|
||||
|
Reference in New Issue
Block a user