Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:games
warsow
fix-cmake.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-cmake.patch of Package warsow
diff -Nur warsow_21_sdk/source/source/ref_gl/CMakeLists.txt new/source/source/ref_gl/CMakeLists.txt --- warsow_21_sdk/source/source/ref_gl/CMakeLists.txt 2016-03-26 20:22:10.000000000 +0100 +++ new/source/source/ref_gl/CMakeLists.txt 2016-08-16 18:15:59.189284644 +0200 @@ -55,6 +55,12 @@ endif() endif() +if(UNIX) + set(MATH_LIBRARY m) +else() + set(MATH_LIBRARY) +endif() + add_library(ref_gl SHARED ${REF_GL_HEADERS} ${REF_GL_COMMON_SOURCES} ${REF_GL_PLATFORM_SOURCES}) -target_link_libraries(ref_gl PRIVATE ${JPEG_LIBRARIES} ${PNG_LIBRARIES} ${REF_GL_PLATFORM_LIBRARIES}) +target_link_libraries(ref_gl PRIVATE ${JPEG_LIBRARIES} ${PNG_LIBRARIES} ${REF_GL_PLATFORM_LIBRARIES} ${MATH_LIBRARY}) qf_set_output_dir(ref_gl libs)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor