Changeset 8331:7d6c0e48beb5 in orange


Ignore:
Timestamp:
06/23/11 20:42:04 (3 years ago)
Author:
Noughmad <Noughmad@…>
Branch:
default
Convert:
6856adc02031098100a31e2166e67f042bc20a9c
Message:

Rename output library to .pyd so that Python finds it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orangegraph/modules/SIPMacros.cmake

    r8327 r8331  
    123123        ADD_LIBRARY(${_logical_name} SHARED ${SIP_EXTRA_SOURCES} ${_sip_output_files} ) 
    124124    ENDIF (CYGWIN) 
     125    IF (WIN32) 
     126        SET_TARGET_PROPERTIES(${_logical_name} PROPERTIES SUFFIX ".pyd") 
     127    ENDIF (WIN32) 
    125128    TARGET_LINK_LIBRARIES(${_logical_name} ${PYTHON_LIBRARY} ${SIP_EXTRA_LINK_LIBRARIES} ${EXTRA_LINK_LIBRARIES}) 
    126129    SET_TARGET_PROPERTIES(${_logical_name} PROPERTIES PREFIX "" OUTPUT_NAME ${_child_module_name}) 
Note: See TracChangeset for help on using the changeset viewer.