Changeset 13694


Ignore:
Timestamp:
Oct 8, 2019 12:46:34 PM (2 months ago)
Author:
randersson
Message:

#5819 Updated CMakeLists.txt to be python 3 compatible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-5819/ModelicaCasADiInterface/CMakeLists.txt

    r10234 r13694  
    5353# locate JCC installation, store in JCC_DIR
    5454execute_process(
    55   COMMAND python -c "import os.path, inspect, jcc; print os.path.dirname(inspect.getfile(jcc)).replace(chr(92),'/');"
     55  COMMAND python -c "import os.path, inspect, jcc; print(os.path.dirname(inspect.getfile(jcc)).replace(chr(92),'/'));"
    5656  RESULT_VARIABLE FIND_JCC_RESULT
    5757  OUTPUT_VARIABLE JCC_DIR
Note: See TracChangeset for help on using the changeset viewer.