diff --git a/cmake/gettext.cmake b/cmake/gettext.cmake index c56517a32..d180afef1 100644 --- a/cmake/gettext.cmake +++ b/cmake/gettext.cmake @@ -35,6 +35,7 @@ if(GETTEXT_FOUND) set(CMAKE_FOLDER) endif() +include(CMakePushCheckState) cmake_push_check_state() set(CMAKE_REQUIRED_INCLUDES ${CMAKE_REQUIRED_INCLUDES} ${Intl_INCLUDE_DIR}) set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${Intl_LIBRARIES})