diff --git a/modules/java/CMakeLists.txt b/modules/java/CMakeLists.txt index 8cc4bd07a6..c1e1e772ce 100644 --- a/modules/java/CMakeLists.txt +++ b/modules/java/CMakeLists.txt @@ -19,7 +19,7 @@ include(${CMAKE_CURRENT_SOURCE_DIR}/common.cmake) macro(glob_more_specific_sources _type _root _output) unset(_masks) if(${_type} STREQUAL "H") - set(_masks "${_root}/cpp/*.h" "${root}/cpp/*.hpp") + set(_masks "${_root}/cpp/*.h" "${_root}/cpp/*.hpp") elseif(${_type} STREQUAL "CPP") set(_masks "${_root}/cpp/*.cpp") elseif(${_type} STREQUAL "JAVA")