aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas-Karl Pietrowski <thopiekar@googlemail.com>2016-04-17 10:33:57 +0200
committerThomas-Karl Pietrowski <thopiekar@googlemail.com>2016-04-17 10:33:57 +0200
commit78120dfedb136312f817af1e2714e8d22a7891d1 (patch)
treef0e224875a00bbc6c515774a68b5f7be81c2345e
parent62768aba4a6938e0c65dd3aeb39d5938b5ca7c31 (diff)
CMake: Generate __init__.py into BINARY_DIR
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b70f5c5..5038347 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,7 @@ set(pyside2_tools_MINOR_VERSION "0")
set(pyside2_tools_MICRO_VERSION "0")
set(pyside2_tools_VERSION "${pyside2_tools_MAJOR_VERSION}.${pyside2_tools_MINOR_VERSION}.${pyside2_tools_MICRO_VERSION}")
-configure_file("pyside2uic/__init__.py.in" "pyside2uic/__init__.py" @ONLY)
+configure_file("pyside2uic/__init__.py.in" "${CMAKE_CURRENT_BINARY_DIR}/__init__.py" @ONLY)
option(BUILD_TESTS "Build tests." TRUE)