CMake: remove Curl dependency when github plugin build is disabled.

This commit is contained in:
Simon Wells 2016-06-27 09:10:28 -04:00 committed by Wayne Stambaugh
parent 9a0d346afa
commit 236f5369ef
1 changed files with 3 additions and 1 deletions

View File

@ -468,7 +468,9 @@ find_package( GLM 0.9.5.1 REQUIRED )
#
# Find CURL library, required for github plugin
#
find_package( CURL REQUIRED )
if( BUILD_GITHUB_PLUGIN )
find_package( CURL REQUIRED )
endif()
#
# Find Cairo library, required