Changeset 227:7cf64dc0debb in verona for oRTP/CMakeLists.txt


Ignore:
Timestamp:
May 31, 2011 2:08:25 PM (2 years ago)
Author:
laurent@…
Branch:
default
Message:

add missing -DISL_DLLENTRY

File:
1 edited

Legend:

Unmodified
Added
Removed
  • oRTP/CMakeLists.txt

    r131 r227  
    7373  include_directories(${CSL_INCLUDE_DIRS} ${ACSLCORE_INCLUDE_DIRS}) 
    7474  set(ORTP_LINK_LIBRARIES ${ORTP_LINK_LIBRARIES} ${ACSLCORE_LIBRARIES}) 
     75  if(WIN32) 
     76        add_definitions(-DISL_DLLENTRY=__declspec\(dllexport\)) 
     77  else(WIN32) 
     78        add_definitions(-DISL_DLLENTRY=) 
     79  endif(WIN32) 
    7580endif(USE_CSL) 
    7681 
Note: See TracChangeset for help on using the changeset viewer.