Skip to content

Commit

Permalink
Correctly check the GTK version in CMake
Browse files Browse the repository at this point in the history
This is a cleanup of the updated FindGTK3.cmake file.
  • Loading branch information
houz committed May 1, 2016
1 parent 9dfcaf4 commit bb33de4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/CMakeLists.txt
Expand Up @@ -9,10 +9,10 @@ endif(USE_OPENCL)
#
# Generate and instal darktable.css
#
if ("${PC_GTK3_VERSION}" VERSION_GREATER "3.19.0")
if ("${GTK3_VERSION}" VERSION_GREATER "3.19.0")
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/darktable.css.in ${CMAKE_CURRENT_BINARY_DIR}/darktable.css )
else ()
if ("${PC_GTK3_VERSION}" VERSION_GREATER "3.13.6")
if ("${GTK3_VERSION}" VERSION_GREATER "3.13.6")
set(GTK_CSS_CLASS "checked")
else ()
set(GTK_CSS_CLASS "active")
Expand Down

0 comments on commit bb33de4

Please sign in to comment.