source: trunk/dports/comms/cutecom-qt4-mac/files/patch-CMakeLists.txt.diff @ 83987

Last change on this file since 83987 was 83987, checked in by ryandesign@…, 9 years ago

cutecom-qt4-mac: update to 0.22.0, use cmake portgroup; see #30779 (maintainer timeout)

File size: 976 bytes
  • CMakeLists.txt

    old new  
    2020   # with cmake < 2.6 install(TARGETS ... BUNDLE DESTINATION ... ) doesn't work:
    2121   cmake_minimum_required(VERSION 2.6 FATAL_ERROR )
    2222   set(exeType MACOSX_BUNDLE)
    23    set(binInstallDir /Applications )
    24    # hint to linker for indirect referenced libs inside qt3support
    25    set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -dylib_file QtSql.framework/Versions/4/QtSql:/Library/Frameworks/QtSql.framework/Versions/4/QtSql")
    26    set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -dylib_file QtNetwork.framework/Versions/4/QtNetwork:/Library/Frameworks/QtNetwork.framework/Versions/4/QtNetwork")
    27    set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -dylib_file QtXml.framework/Versions/4/QtXml:/Library/Frameworks/QtXml.framework/Versions/4/QtXml")
    2823endif(APPLE)
    2924
    3025add_executable(cutecom ${exeType} ${cutecomSrcs} ${uiHeaders})
Note: See TracBrowser for help on using the repository browser.