Skip to content

Commit

Permalink
Change test for gtk3
Browse files Browse the repository at this point in the history
  • Loading branch information
jongough committed Jun 8, 2020
1 parent d469eae commit 8c25f89
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cmake/PluginConfigure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,14 @@ message(STATUS "${CMLOC}OCPN_TARGET: $ENV{OCPN_TARGET}")
if(NOT DEFINED $ENV{OCPN_TARGET})
set($ENV{OCPN_TARGET} ${PKG_TARGET})
message(STATUS "${CMLOC}Setting OCPN_TARGET")
endif(NOT DEFINED $ENV{OCPN_TARGET})
if($ENV{OCPN_TARGET} MATCHES "(.*)gtk3")
endif()

if("$ENV{BUILD_GTK3}" STREQUAL "true")
set(PKG_TARGET_GTK "-gtk3")
message(STATUS "${CMLOC}Found gtk3")
else($ENV{OCPN_TARGET} MATCHES "(.*)gtk3")
else()
set(PKG_TARGET_GTK "")
endif($ENV{OCPN_TARGET} MATCHES "(.*)gtk3")
endif()
message(STATUS "${CMLOC}PKG_TARGET_GTK: ${PKG_TARGET_GTK}")

if(UNIX)
Expand Down

0 comments on commit 8c25f89

Please sign in to comment.