Commit 8c9b3153 authored by NICLAUSSE Nicolas's avatar NICLAUSSE Nicolas

release 2.4.0

parent 7fab6fb3
# Change Log:
## 2.4.0 6-Dec-2018
- cmake fix for windows (link to opengl)
- add ratioBuffer and ratioWidget in ViewVideoGL API
## 2.3.5 18-Oct-2018
- cmake fix for windows
......
......@@ -23,8 +23,8 @@ project(dtkVisualization)
## ###################################################################
set(${PROJECT_NAME}_VERSION_MAJOR 2)
set(${PROJECT_NAME}_VERSION_MINOR 3)
set(${PROJECT_NAME}_VERSION_PATCH 5)
set(${PROJECT_NAME}_VERSION_MINOR 4)
set(${PROJECT_NAME}_VERSION_PATCH 0)
set(${PROJECT_NAME}_VERSION
${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}.${${PROJECT_NAME}_VERSION_PATCH})
......@@ -83,6 +83,11 @@ find_package(Qt5 COMPONENTS Core Widgets OpenGL Xml Multimedia MultimediaWidgets
find_package(dtkFonts 2.0.0 REQUIRED)
find_package(dtkWidgets 2.1.0 REQUIRED)
if(WIN32)
set(OpenGL_GL_PREFERENCE "GLVND")
find_package(OpenGL REQUIRED)
endif(WIN32)
set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
......
......@@ -73,6 +73,10 @@ target_link_libraries(${PROJECT_NAME} dtkVisualizationWidgets)
target_link_libraries(${PROJECT_NAME} ${VTK_LIBRARIES})
if(WIN32)
target_link_libraries(${PROJECT_NAME} ${OPENGL_LIBRARIES})
endif(WIN32)
if(APPLE)
target_link_libraries(${PROJECT_NAME} "-framework OpenGL")
endif(APPLE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment