Actually fix the CMake platform-independence problem

This commit is contained in:
Martin Hořeňovský 2019-06-17 19:41:07 +02:00
parent 80af9ca687
commit 7eea3ab245
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -141,7 +141,6 @@ if (NOT_SUBPROJECT)
# insufficient in cases where the variable was already in CMake cache
set(CATCH2_CMAKE_SIZEOF_VOID_P ${CMAKE_SIZEOF_VOID_P})
set(CMAKE_SIZEOF_VOID_P "")
unset(CMAKE_SIZEOF_VOID_P)
write_basic_package_version_file(
"${CMAKE_CURRENT_BINARY_DIR}/Catch2ConfigVersion.cmake"
COMPATIBILITY