QTfrontend/CMakeLists.txt
changeset 8078 ea7541f77944
parent 8073 5a289ef40fdb
child 8082 675372256a01
equal deleted inserted replaced
8077:2ea5cde93abc 8078:ea7541f77944
    33 include_directories(${SDL_INCLUDE_DIR})
    33 include_directories(${SDL_INCLUDE_DIR})
    34 include_directories(${SDLMIXER_INCLUDE_DIR})
    34 include_directories(${SDLMIXER_INCLUDE_DIR})
    35 include_directories(${FFMPEG_INCLUDE_DIR})
    35 include_directories(${FFMPEG_INCLUDE_DIR})
    36 include_directories(${CMAKE_SOURCE_DIR}/misc/physfs/src)
    36 include_directories(${CMAKE_SOURCE_DIR}/misc/physfs/src)
    37 include_directories(${CMAKE_SOURCE_DIR}/misc/physfs/extras)
    37 include_directories(${CMAKE_SOURCE_DIR}/misc/physfs/extras)
       
    38 include_directories(${CMAKE_SOURCE_DIR}/project_files/frontlib)
    38 if(UNIX)
    39 if(UNIX)
    39     # HACK: in freebsd cannot find iconv.h included via SDL.h
    40     # HACK: in freebsd cannot find iconv.h included via SDL.h
    40     include_directories("/usr/local/include")
    41     include_directories("/usr/local/include")
    41 endif(UNIX)
    42 endif(UNIX)
    42 
    43 
   166     )
   167     )
   167 
   168 
   168 
   169 
   169 set(HW_LINK_LIBS
   170 set(HW_LINK_LIBS
   170     physfs
   171     physfs
       
   172     frontlib
   171     ${QT_LIBRARIES}
   173     ${QT_LIBRARIES}
   172     ${SDL_LIBRARY}
   174     ${SDL_LIBRARY}
   173     ${SDLMIXER_LIBRARY}
   175     ${SDLMIXER_LIBRARY}
       
   176     ${SDLNET_LIBRARY}
   174     ${FFMPEG_LIBRARIES}
   177     ${FFMPEG_LIBRARIES}
   175     ${HW_LINK_LIBS}
   178     ${HW_LINK_LIBS}
   176     )
   179     )
   177 
   180 
   178 if(WIN32 AND NOT UNIX)
   181 if(WIN32 AND NOT UNIX)