diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-08-31 16:26:15 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-08-31 16:36:19 -0300 |
commit | dc1eef279e3b34f5e978e2e07a80969b07a112e8 (patch) | |
tree | d774979168a82fae1af227d3f2707858a2e0725e /PySide/CMakeLists.txt | |
parent | 28000755c2913851a3c7c339a8eabe6ece450c30 (diff) |
Fix Qt class detection on Windows.
Diffstat (limited to 'PySide/CMakeLists.txt')
-rw-r--r-- | PySide/CMakeLists.txt | 3 |
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} |