Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
mathgl
mathgl-examples-install.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mathgl-examples-install.patch of Package mathgl
Index: mathgl-2.1/examples/CMakeLists.txt =================================================================== --- mathgl-2.1.orig/examples/CMakeLists.txt +++ mathgl-2.1/examples/CMakeLists.txt @@ -4,21 +4,37 @@ endif(MGL_HAVE_GSL) add_executable(mgl_example wnd_samples.cpp full_test.cpp samples.cpp) target_link_libraries(mgl_example mgl) +install( + TARGETS mgl_example + RUNTIME DESTINATION bin +) if(MGL_HAVE_FLTK) add_executable(mgl_fltk_example wnd_samples.cpp fltk_example.cpp) target_link_libraries(mgl_fltk_example mgl-fltk) + install( + TARGETS mgl_fltk_example + RUNTIME DESTINATION bin + ) endif(MGL_HAVE_FLTK) if(MGL_HAVE_GLUT) add_executable(mgl_glut_example wnd_samples.cpp glut_example.cpp) target_link_libraries(mgl_glut_example mgl-glut) + install( + TARGETS mgl_glut_example + RUNTIME DESTINATION bin + ) endif(MGL_HAVE_GLUT) if(MGL_HAVE_WX) include(${wxWidgets_USE_FILE}) add_executable(mgl_wx_example wnd_samples.cpp wx_example.cpp) target_link_libraries(mgl_wx_example mgl-wx) + install( + TARGETS mgl_wx_example + RUNTIME DESTINATION bin + ) endif(MGL_HAVE_WX) if(MGL_HAVE_QT) @@ -26,4 +42,8 @@ if(MGL_HAVE_QT) qt_wrap_cpp(mgl_qt_example MGL_MOC_EX_FILES ../include/mgl2/qt.h) add_executable(mgl_qt_example wnd_samples.cpp qt_example.cpp ${MGL_MOC_EX_FILES}) target_link_libraries(mgl_qt_example mgl-qt) + install( + TARGETS mgl_qt_example + RUNTIME DESTINATION bin + ) endif(MGL_HAVE_QT)
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