freebsd-ports/math/mathgl/files/patch-widgets_CMakeLists.txt
Yuri Victorovich 71c03a7dbf New port: math/mathgl: Library for high-quality scientific data visualization
Approved by:	tcberner (mentor, implicit)
Differential Revision:	https://reviews.freebsd.org/D12887
2018-03-11 08:39:12 +00:00

32 lines
1.6 KiB
Text

--- widgets/CMakeLists.txt.orig 2017-07-20 06:27:56 UTC
+++ widgets/CMakeLists.txt
@@ -3,24 +3,24 @@ include(GenerateExportHeader)
if(MGL_HAVE_FLTK)
mgl_add_lib(fltk fltk.cpp image.cpp image.h ../include/mgl2/fltk.h ../include/mgl2/Fl_MathGL.h)
target_include_directories(mgl-fltk SYSTEM PUBLIC ${FLTK_INCLUDE_DIR})
- target_include_directories(mgl-fltk-static SYSTEM PUBLIC ${FLTK_INCLUDE_DIR})
+ #target_include_directories(mgl-fltk-static SYSTEM PUBLIC ${FLTK_INCLUDE_DIR})
target_link_libraries(mgl-fltk mgl ${FLTK_LIBRARIES})
- target_link_libraries(mgl-fltk-static mgl-static ${FLTK_LIBRARIES})
+ #target_link_libraries(mgl-fltk-static mgl-static ${FLTK_LIBRARIES})
endif(MGL_HAVE_FLTK)
if(MGL_HAVE_GLUT)
mgl_add_lib(glut glut.cpp ../include/mgl2/glut.h)
target_include_directories(mgl-glut SYSTEM PUBLIC ${GLUT_INCLUDE_DIR})
- target_include_directories(mgl-glut-static SYSTEM PUBLIC ${GLUT_INCLUDE_DIR})
+ #target_include_directories(mgl-glut-static SYSTEM PUBLIC ${GLUT_INCLUDE_DIR})
target_link_libraries(mgl-glut mgl ${GLUT_LIBRARIES} ${OPENGL_LIBRARIES})
- target_link_libraries(mgl-glut-static mgl-static ${GLUT_LIBRARIES} ${OPENGL_LIBRARIES})
+ #target_link_libraries(mgl-glut-static mgl-static ${GLUT_LIBRARIES} ${OPENGL_LIBRARIES})
endif(MGL_HAVE_GLUT)
if(MGL_HAVE_WX)
mgl_add_lib(wx wx.cpp ../include/mgl2/wx.h)
include(${wxWidgets_USE_FILE})
target_link_libraries(mgl-wx mgl ${wxWidgets_LIBRARIES})
- target_link_libraries(mgl-wx-static mgl-static ${wxWidgets_LIBRARIES})
+ #target_link_libraries(mgl-wx-static mgl-static ${wxWidgets_LIBRARIES})
endif(MGL_HAVE_WX)
add_subdirectory( qt4 )