Ignore:
File:
1 edited

Legend:

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

    r8757 r11643  
    111111    ENDIF(NOT WIN32) 
    112112    ADD_CUSTOM_COMMAND( 
    113         OUTPUT ${_sip_output_files}  
     113        OUTPUT ${_sip_output_files} 
    114114        COMMAND ${CMAKE_COMMAND} -E echo ${message} 
    115         COMMAND ${TOUCH_COMMAND} ${_sip_output_files}  
     115        COMMAND ${TOUCH_COMMAND} ${_sip_output_files} 
    116116        COMMAND ${SIP_EXECUTABLE} ${_sip_tags} ${_sip_x} ${SIP_EXTRA_OPTIONS} -j ${SIP_CONCAT_PARTS} -c ${CMAKE_CURRENT_SIP_OUTPUT_DIR} ${_sip_includes} ${_abs_module_sip} 
    117117        DEPENDS ${_abs_module_sip} ${SIP_EXTRA_FILES_DEPEND} 
     
    123123        ADD_LIBRARY(${_logical_name} SHARED ${SIP_EXTRA_SOURCES} ${_sip_output_files} ) 
    124124    ENDIF (CYGWIN) 
    125      
     125 
    126126#   IF (WIN32) 
    127 #       SET_TARGET_PROPERTIES(${_logical_name} PROPERTIES SUFFIX ".pyd")  
     127#       SET_TARGET_PROPERTIES(${_logical_name} PROPERTIES SUFFIX ".pyd") 
    128128#   ENDIF (WIN32) 
    129129 
    130130#   Use sysconfig to get the python module extension 
    131     execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import distutils.sysconfig; print distutils.sysconfig.get_config_var('SO')"  
    132                     RESULT_VARIABLE PYTHON_SOPY_PROCESS  
    133                     OUTPUT_VARIABLE PY_SO_SUFFIX  
     131    execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('SO'))" 
     132                    RESULT_VARIABLE PYTHON_SOPY_PROCESS 
     133                    OUTPUT_VARIABLE PY_SO_SUFFIX 
    134134                    OUTPUT_STRIP_TRAILING_WHITESPACE) 
    135135    SET_TARGET_PROPERTIES(${_logical_name} PROPERTIES SUFFIX ${PY_SO_SUFFIX}) 
Note: See TracChangeset for help on using the changeset viewer.