fix CheckTypeSize being called from multiple contexts

This commit is contained in:
2024-11-01 12:00:42 +02:00
parent fa345a9dbd
commit c7f0636026

View File

@@ -20,12 +20,12 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
include(${CMAKE_ROOT}/Modules/CheckTypeSize.cmake)
include_guard(GLOBAL)
cmake_minimum_required(VERSION 3.11)
include(DumpCMakeVariables)
include(${CMAKE_ROOT}/Modules/CheckTypeSize.cmake)
macro(check_type_size type variable)
_check_type_size(${type} ${variable})