QTfrontend/CMakeLists.txt
changeset 2212 6b5da1a2765a
parent 2203 6bd39d75e0dd
child 2218 59a9bebc4988
equal deleted inserted replaced
2211:288360b78f30 2212:6b5da1a2765a
   170 	${QT_LIBRARIES}
   170 	${QT_LIBRARIES}
   171 	${SDL_LIBRARY}
   171 	${SDL_LIBRARY}
   172 	openalbridge
   172 	openalbridge
   173 )
   173 )
   174 
   174 
   175 #since openalbridge is linked statically in human systems we need to explicitly link dependencies 
   175 #since openalbridge is linked statically with non-m$ compilers we need to explicitly link dependencies 
   176 if(UNIX)
   176 if(NOT MSVC)
   177 	set(HW_LINK_LIBS
   177 	set(HW_LINK_LIBS
   178 		${OPENAL_LIBRARY}
   178 		${OPENAL_LIBRARY}
   179 		${OGG_LIBRARY}
   179 		${OGG_LIBRARY}
   180 		${VORBIS_LIBRARY}
   180 		${VORBIS_LIBRARY}
   181 		${HW_LINK_LIBS}
   181 		${HW_LINK_LIBS}
   184 	set(HW_LINK_LIBS
   184 	set(HW_LINK_LIBS
   185 		${VORBISFILE_LIBRARY}
   185 		${VORBISFILE_LIBRARY}
   186 		${HW_LINK_LIBS}
   186 		${HW_LINK_LIBS}
   187 		)
   187 		)
   188 endif(NOT APPLE)
   188 endif(NOT APPLE)
   189 endif(UNIX)
   189 endif(NOT MSVC)
   190 
   190 
   191 
   191 
   192 if(WIN32 AND NOT UNIX)
   192 if(WIN32 AND NOT UNIX)
   193 	if(NOT SDL_LIBRARY)
   193 	if(NOT SDL_LIBRARY)
   194 		set(HW_LINK_LIBS 
   194 		set(HW_LINK_LIBS