diff options
Diffstat (limited to 'vio/CMakeLists.txt')
-rwxr-xr-x | vio/CMakeLists.txt | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/vio/CMakeLists.txt b/vio/CMakeLists.txt index e1bd57d150f..6f44ecadb21 100755 --- a/vio/CMakeLists.txt +++ b/vio/CMakeLists.txt @@ -14,13 +14,12 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -ADD_DEFINITIONS(-DUSE_SYMDIR) -INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/extra/yassl/include) +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include +${SSL_INCLUDE_DIRS}) +ADD_DEFINITIONS(${SSL_DEFINES}) SET(VIO_SOURCES vio.c viosocket.c viossl.c viosslfactories.c) - -IF(NOT SOURCE_SUBLIBS) - ADD_LIBRARY(vio ${VIO_SOURCES}) - ADD_DEPENDENCIES(vio GenError) -ENDIF(NOT SOURCE_SUBLIBS) +USE_ABSOLUTE_FILENAMES(VIO_SOURCES) +ADD_LIBRARY(vio ${VIO_SOURCES}) +ADD_DEPENDENCIES(vio GenError) |