project_files/hwc/CMakeLists.txt
branch1.0.0
changeset 15859 7b1d6dfa3173
parent 15362 c8f37fc9c266
child 15962 4013354585be
equal deleted inserted replaced
15857:139a1887f83e 15859:7b1d6dfa3173
     1 #the usual set of dependencies
     1 #the usual set of dependencies
     2 find_package(OpenGL REQUIRED)
     2 find_package(OpenGL REQUIRED)
     3 find_package(SDL2 REQUIRED)
     3 find_package(SDL2 REQUIRED CONFIG)
     4 find_package(SDL2_mixer 2 REQUIRED)
     4 find_package(SDL2_mixer 2 REQUIRED)
     5 find_package(SDL2_net 2 REQUIRED)
     5 find_package(SDL2_net 2 REQUIRED)
     6 find_package(SDL2_image 2 REQUIRED)
     6 find_package(SDL2_image 2 REQUIRED)
     7 find_package(SDL2_ttf 2 REQUIRED)
     7 find_package(SDL2_ttf 2 REQUIRED)
     8 
     8 
   109 endif()
   109 endif()
   110 
   110 
   111 target_link_libraries(hwengine  fpcrtl
   111 target_link_libraries(hwengine  fpcrtl
   112                                 ${LUA_LIBRARY}
   112                                 ${LUA_LIBRARY}
   113                                 ${OPENGL_LIBRARY}
   113                                 ${OPENGL_LIBRARY}
   114                                 ${SDL2_LIBRARY}
   114                                 ${SDL2_LIBRARIES}
   115                                 ${SDL2_MIXER_LIBRARIES}
   115                                 ${SDL2_MIXER_LIBRARIES}
   116                                 ${SDL2_NET_LIBRARIES}
   116                                 ${SDL2_NET_LIBRARIES}
   117                                 ${SDL2_IMAGE_LIBRARIES}
   117                                 ${SDL2_IMAGE_LIBRARIES}
   118                                 ${SDL2_TTF_LIBRARIES}
   118                                 ${SDL2_TTF_LIBRARIES}
   119                                 physfs
   119                                 physfs