Skip to content

Instantly share code, notes, and snippets.

@lisitsyn
Created September 7, 2018 19:50
Show Gist options
  • Save lisitsyn/990a1b55e29750301b9da1337d1422fd to your computer and use it in GitHub Desktop.
Save lisitsyn/990a1b55e29750301b9da1337d1422fd to your computer and use it in GitHub Desktop.
diff --git a/cmake/FindOctave.cmake b/cmake/FindOctave.cmake
index df662aba9..585d984aa 100644
--- a/cmake/FindOctave.cmake
+++ b/cmake/FindOctave.cmake
@@ -184,9 +184,9 @@ endmacro ()
# handle REQUIRED and QUIET options
include (FindPackageHandleStandardArgs)
if (CMAKE_VERSION LESS 2.8.3)
- find_package_handle_standard_args (Octave DEFAULT_MSG OCTAVE_EXECUTABLE OCTAVE_ROOT_DIR OCTAVE_INCLUDE_DIRS OCTAVE_LIBRARIES OCTAVE_VERSION_STRING)
+ find_package_handle_standard_args (Octave DEFAULT_MSG OCTAVE_EXECUTABLE OCTAVE_INCLUDE_DIRS OCTAVE_LIBRARIES OCTAVE_VERSION_STRING)
else ()
- find_package_handle_standard_args (Octave REQUIRED_VARS OCTAVE_EXECUTABLE OCTAVE_ROOT_DIR OCTAVE_INCLUDE_DIRS OCTAVE_LIBRARIES VERSION_VAR OCTAVE_VERSION_STRING)
+ find_package_handle_standard_args (Octave REQUIRED_VARS OCTAVE_EXECUTABLE OCTAVE_INCLUDE_DIRS OCTAVE_LIBRARIES VERSION_VAR OCTAVE_VERSION_STRING)
endif ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment