diff --git a/src/shogun/CMakeLists.txt b/src/shogun/CMakeLists.txt index d0d9405a09c..6bc1a47662a 100644 --- a/src/shogun/CMakeLists.txt +++ b/src/shogun/CMakeLists.txt @@ -46,13 +46,13 @@ IF (LICENSE_GPL_SHOGUN) SET(USE_GPL_SHOGUN 1) ELSE() - MESSAGE(FATAL_ERROR "Shogun can only be built with GPL codes if the source files are in ${SHOGUN_GPL_INCLUDE_DIR}. Please download or disable.\n") + MESSAGE(FATAL_ERROR "Shogun can only be built with GPL codes if the source files are in ${SHOGUN_GPL_INCLUDE_DIR}. Please download or disable with LICENSE_GPL_SHOGUN=OFF.\n") ENDIF() ENDIF() OPTION(USE_SVMLIGHT "SVMLight" ON) IF(USE_SVMLIGHT AND NOT USE_GPL_SHOGUN) - MESSAGE(FATAL_ERROR "Can only use SVMLight when GPL codes are included") + MESSAGE(FATAL_ERROR "Can only use SVMLight when GPL codes are included. Disable by USE_SVMLIGHT=OFF") ENDIF() # add target to compile the libshogun sources