fix CheckTypeSize being called from multiple contexts
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user