mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Actually fix the CMake platform-independence problem
This commit is contained in:
parent
80af9ca687
commit
7eea3ab245
@ -141,7 +141,6 @@ if (NOT_SUBPROJECT)
|
|||||||
# insufficient in cases where the variable was already in CMake cache
|
# insufficient in cases where the variable was already in CMake cache
|
||||||
set(CATCH2_CMAKE_SIZEOF_VOID_P ${CMAKE_SIZEOF_VOID_P})
|
set(CATCH2_CMAKE_SIZEOF_VOID_P ${CMAKE_SIZEOF_VOID_P})
|
||||||
set(CMAKE_SIZEOF_VOID_P "")
|
set(CMAKE_SIZEOF_VOID_P "")
|
||||||
unset(CMAKE_SIZEOF_VOID_P)
|
|
||||||
write_basic_package_version_file(
|
write_basic_package_version_file(
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/Catch2ConfigVersion.cmake"
|
"${CMAKE_CURRENT_BINARY_DIR}/Catch2ConfigVersion.cmake"
|
||||||
COMPATIBILITY
|
COMPATIBILITY
|
||||||
|
Loading…
Reference in New Issue
Block a user