Skip to content

Commit

Permalink
Removing items from cmake (#136)
Browse files Browse the repository at this point in the history
Reason for removing check for webkit2gtk was that webkit2gtk-3.0
is no longer supported by Notes-Up.

Reason for removing PKG_DEPS variable is that it was unnecessary
since package dependencies are already checked before the variable
is set.
  • Loading branch information
demonpig authored and Philip-Scott committed Jul 23, 2017
1 parent 8dd51ce commit 761b32c
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,30 +30,16 @@ add_definitions(-w)

find_package(PkgConfig)

# either of webkitpackages would do
pkg_search_module(WEBKIT REQUIRED
webkit2gtk-4.0
webkit2gtk-3.0
)

pkg_check_modules(DEPS REQUIRED
granite>=0.3
gee-0.8
gtksourceview-3.0>=3.10
gthread-2.0
gtk+-3.0>=3.9.10
webkit2gtk-4.0
sqlite3>=3.5.9
)

set (PKG_DEPS
granite>=0.3
gee-0.8
gtksourceview-3.0
gtk+-3.0
webkit2gtk-4.0
sqlite3>=3.5.9
discount
)

set (VALA_DEPS
granite
gee-0.8
Expand All @@ -64,8 +50,6 @@ set (VALA_DEPS
discount
)

pkg_check_modules (DEPS REQUIRED ${PKG_DEPS})

add_definitions(${DEPS_CFLAGS})
add_definitions(${WEBKIT_CFLAGS})

Expand Down

0 comments on commit 761b32c

Please sign in to comment.