equal
deleted
inserted
replaced
154 |
154 |
155 if(BUILD_ENGINE_LIBRARY) |
155 if(BUILD_ENGINE_LIBRARY) |
156 add_definitions(-DHWLIBRARY=1) |
156 add_definitions(-DHWLIBRARY=1) |
157 set(hwlibname "${EXECUTABLE_OUTPUT_PATH}/${CMAKE_SHARED_LIBRARY_PREFIX}hwengine${CMAKE_SHARED_LIBRARY_SUFFIX}") |
157 set(hwlibname "${EXECUTABLE_OUTPUT_PATH}/${CMAKE_SHARED_LIBRARY_PREFIX}hwengine${CMAKE_SHARED_LIBRARY_SUFFIX}") |
158 list(APPEND HW_LINK_LIBS ${hwlibname}) |
158 list(APPEND HW_LINK_LIBS ${hwlibname}) |
|
159 |
|
160 if(LIBAV_FOUND) |
|
161 # add_subdirectory(avwrapper) |
|
162 list(APPEND HW_LINK_LIBS avwrapper) |
|
163 endif() |
159 endif() |
164 endif() |
160 |
165 |
161 qt4_add_resources(hwfr_rez_src ${hwfr_rez}) |
166 qt4_add_resources(hwfr_rez_src ${hwfr_rez}) |
162 |
167 |
163 qt4_wrap_cpp(hwfr_moc_srcs ${hwfr_moc_hdrs}) |
168 qt4_wrap_cpp(hwfr_moc_srcs ${hwfr_moc_hdrs}) |
199 physfs physlayer |
204 physfs physlayer |
200 ${QT_LIBRARIES} |
205 ${QT_LIBRARIES} |
201 ${SDL_LIBRARY} |
206 ${SDL_LIBRARY} |
202 ${SDLMIXER_LIBRARY} |
207 ${SDLMIXER_LIBRARY} |
203 ) |
208 ) |
204 |
209 |
205 if(WIN32 AND NOT UNIX) |
210 if(WIN32 AND NOT UNIX) |
206 if(NOT SDL_LIBRARY) |
211 if(NOT SDL_LIBRARY) |
207 list(APPEND HW_LINK_LIBS SDL) |
212 list(APPEND HW_LINK_LIBS SDL) |
208 endif() |
213 endif() |
209 |
214 |