Changeset 14:f91496c7cf18 in verona for oRTP/CMakeLists.txt
- Timestamp:
- Dec 30, 2009 4:12:42 PM (3 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
oRTP/CMakeLists.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
oRTP/CMakeLists.txt
r9 r14 20 20 21 21 22 find_library(HAVE_PTHREAD pthread)22 include(FindThreads) 23 23 24 24 set(ORTP_MAJOR_VERSION __ZERO__) … … 35 35 set(VERSION ${ORTP_VERSION}) 36 36 37 have_function(select seteuid socket) 37 38 if(WIN32) 39 set(CMAKE_REQUIRED_LIBRARIES WS2_32.Lib) 40 set(CMAKE_REQUIRED_FLAGS /FIwinsock2.h) 41 endif(WIN32) 42 have_function(select socket) 38 43 39 44 set(STDC_HEADERS true) … … 43 48 include_directories(include ${CMAKE_CURRENT_BINARY_DIR}) 44 49 add_library(ortp SHARED ${ORTP_SRC}) 45 target_link_libraries(ortp ssl crypto ${HAVE_PTHREAD})50 target_link_libraries(ortp ssl crypto) 46 51 set_target_properties(ortp PROPERTIES VERSION ${ORTP_VERSION} SOVERSION ${ORTP_VERSION}) 47 52
Note: See TracChangeset
for help on using the changeset viewer.
