Skip to content

Commit

Permalink
fix previous breaking change for gpl check
Browse files Browse the repository at this point in the history
  • Loading branch information
vigsterkr committed Nov 28, 2017
1 parent 9c36e70 commit 580f26f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shogun/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ endif()
OPTION(LICENSE_GPL_SHOGUN "Include GPL codes of Shogun (non-BSD compatible) in build" ON)
SET(USE_GPL_SHOGUN 0)
IF (LICENSE_GPL_SHOGUN)
SET(SHOGUN_GPL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/gpl/shogun)
IF(EXISTS "${SHOGUN_GPL_INCLUDE_DIR}")
SET(SHOGUN_GPL_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/gpl)
IF(EXISTS "${SHOGUN_GPL_INCLUDE_DIR}/shogun")
SET(USE_GPL_SHOGUN 1)

FILE(GLOB_RECURSE GPL_LIBSHOGUN_SRC ${SHOGUN_GPL_INCLUDE_DIR}/*.${EXT_SRC_CPP} ${SHOGUN_GPL_INCLUDE_DIR}/*.${EXT_SRC_C})
Expand Down

0 comments on commit 580f26f

Please sign in to comment.