project_files/hwc/CMakeLists.txt
branchwebgl
changeset 8853 ef59a44a9f08
parent 8448 14f736ca7eb3
child 9130 4f4b71da3559
equal deleted inserted replaced
8850:ae8a957c69fd 8853:ef59a44a9f08
    51                                 ${SDL_LIBRARY}
    51                                 ${SDL_LIBRARY}
    52                                 ${SDLMIXER_LIBRARY}
    52                                 ${SDLMIXER_LIBRARY}
    53                                 ${SDLNET_LIBRARY}
    53                                 ${SDLNET_LIBRARY}
    54                                 ${SDLIMAGE_LIBRARY}
    54                                 ${SDLIMAGE_LIBRARY}
    55                                 ${SDLTTF_LIBRARY}
    55                                 ${SDLTTF_LIBRARY}
       
    56                                 ${GLEW_LIBRARY}
       
    57                                 physfs
       
    58                                 physlayer
    56                                 #TODO: add other libraries
    59                                 #TODO: add other libraries
    57                             )
    60                             )
       
    61 if(APPLE)
       
    62     target_link_libraries(hwengine IOKit)
       
    63 endif()
    58 
    64 
    59 #TODO: move this away in its proper findxxx.cmake
    65 #TODO: move this away in its proper findxxx.cmake
    60 if(APPLE)
    66 if(APPLE)
    61     #let's look for the installed sdlmain file; if it is not found, let's build our own
    67     #let's look for the installed sdlmain file; if it is not found, let's build our own
    62     find_package(SDL REQUIRED)
    68     find_package(SDL REQUIRED)