blob: e3bec461c620287a05d344c16f7cb6569c80be65 [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to you under the Apache License, Version
# 2.0 (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied
# See the License for the specific language governing permissions and
# limitations under the License.
# To specify your package use the following variables
# ${PACKAGE_NAME}_INCLUDE_DIRS
# ${PACKAGE_NAME}_LIBRARY_DIRS
# ${PACKAGE_NAME}_LIBNAMES
# ${PACKAGE_NAME}_DEPENDENT_DEFINITIONS
# ${PACKAGE_NAME}_DEPENDENT_DEBUG_DEFINITIONS
# ${PACKAGE_NAME}_DEPENDENT_RELEASE_DEFINITIONS
SET(PACKAGE_NAME Net)
IF("${TARGET_OS}" STREQUAL "Windows")
SET(${PACKAGE_NAME}_INCLUDE_DIRS "")
SET(${PACKAGE_NAME}_LIBRARIES "" )
ELSEIF("${TARGET_OS}" STREQUAL "Linux")
SET(${PACKAGE_NAME}_INCLUDE_DIRS "" )
SET(${PACKAGE_NAME}_LIBRARIES "" )
ELSEIF("${TARGET_OS}" STREQUAL "Integrity")
FIND_PATH(${PACKAGE_NAME}_INCLUDE_DIRS netdb.h /INTEGRITY-include )
FIND_LIBRARY(${PACKAGE_NAME}_LIBRARIES NAMES net PATHS /intarmv7a_vfp_common )
ELSEIF("${TARGET_OS}" STREQUAL "QNX")
SET(${PACKAGE_NAME}_INCLUDE_DIRS "")
SET(${PACKAGE_NAME}_LIBRARIES "" )
ENDIF()