Add temporary fix for finsing jni plugin
@@ -20,7 +20,6 @@ macro (safe_check_symbol_exists SYMBOL FILES VARIABLE)
CMAKE_C_FLAGS
${CMAKE_C_FLAGS})
- cmake_push_check_state (RESET)
get_directory_property (DEFS COMPILE_DEFINITIONS)
prepend (DEFS "-D" ${DEFS})
list (APPEND CMAKE_REQUIRED_DEFINITIONS
@@ -28,7 +27,6 @@ macro (safe_check_symbol_exists SYMBOL FILES VARIABLE)
check_symbol_exists ("${SYMBOL}" "${FILES}" "${VARIABLE}")
- cmake_pop_check_state ()
set (CMAKE_C_FLAGS ${CMAKE_C_FLAGS_OLD})
endmacro ()
