aboutsummaryrefslogtreecommitdiffstats
path: root/PySide
diff options
context:
space:
mode:
Diffstat (limited to 'PySide')
-rw-r--r--PySide/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/PySide/CMakeLists.txt b/PySide/CMakeLists.txt
index d5368e338..4c017953a 100644
--- a/PySide/CMakeLists.txt
+++ b/PySide/CMakeLists.txt
@@ -65,8 +65,7 @@ macro(check_qt_class module class global_sources)
file(WRITE ${SRC_FILE}
"#include <${module}>\n"
"#include <typeinfo>\n"
- "#include <inttypes.h>\n"
- "int main() { return (intptr_t) &typeid(${class}); }\n"
+ "int main() { typeid(${class}); }\n"
)
try_compile(Q_WORKS ${CMAKE_BINARY_DIR}
${SRC_FILE}