Re: [CMake] Question about functions

2019-02-18 Thread Andreas Naumann
Am 18.02.19 um 20:43 schrieb workbe...@gmx.at: Hi everyone, i have a function like: FUNCTION(checksyste_64Bit arg1)     IF(CMAKE_SIZEOF_VOID_P EQUAL 8)         SET(${arg1} TRUE PARENT_SCOPE) ENDFUNCTION() but when i call it with an INTERNAL variable i've set before with SET(SYSTEM_64BIT

[CMake] Question about functions

2019-02-18 Thread workbe...@gmx.at
Hi everyone, i have a function like: FUNCTION(checksyste_64Bit arg1)     IF(CMAKE_SIZEOF_VOID_P EQUAL 8)         SET(${arg1} TRUE PARENT_SCOPE) ENDFUNCTION() but when i call it with an INTERNAL variable i've set before with SET(SYSTEM_64BIT FALSE CACHE INTERNAL)