git-svn-id: svn://db.shs.com.ru/pip@556 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -5,8 +5,10 @@ if(WIN32)
|
||||
find_library(PIP_USB_LIBRARY pip_usb ${MINGW_LIB})
|
||||
find_library(PIP_CRYPT_LIBRARY pip_crypt ${MINGW_LIB})
|
||||
find_library(PIP_FFTW_LIBRARY pip_fftw ${MINGW_LIB})
|
||||
find_library(PIP_COMPRESS_LIBRARY pip_compress ${MINGW_LIB})
|
||||
set(PIP_INCLUDES ${MINGW_INCLUDE}/pip)
|
||||
set(PIP_CMG ${MINGW_BIN}/pip_cmg.exe)
|
||||
set(PIP_RC ${MINGW_BIN}/pip_rc.exe)
|
||||
else()
|
||||
set(_DIR_ "/usr")
|
||||
if(APPLE)
|
||||
@@ -16,6 +18,7 @@ else()
|
||||
find_library(PIP_USB_LIBRARY pip_usb ${_DIR_}/lib/)
|
||||
find_library(PIP_CRYPT_LIBRARY pip_crypt ${_DIR_}/lib/)
|
||||
find_library(PIP_FFTW_LIBRARY pip_fftw ${_DIR_}/lib/)
|
||||
find_library(PIP_COMPRESS_LIBRARY pip_compress ${_DIR_}/lib/)
|
||||
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
|
||||
find_library(DL_LIBRARY dl)
|
||||
list(APPEND PIP_LIBRARY ${DL_LIBRARY})
|
||||
@@ -27,6 +30,7 @@ else()
|
||||
endif()
|
||||
set(PIP_INCLUDES ${_DIR_}/include/pip)
|
||||
set(PIP_CMG ${_DIR_}/bin/pip_cmg)
|
||||
set(PIP_RC ${_DIR_}/bin/pip_rc)
|
||||
endif()
|
||||
|
||||
if(NOT PIP_VERSION)
|
||||
|
||||
Reference in New Issue
Block a user