Commit 45e9447b authored by Victor Yacovlev's avatar Victor Yacovlev

Fixed out-ot-project .py scripts search

parent 7ec268c6
......@@ -66,7 +66,10 @@ install(DIRECTORY cmake/ DESTINATION "${KUMIR2_SDK_CMAKE_DIR}")
# Generate and install CMake file describing current build configuration
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/distribution_build_config.cmake" "# Installed build configuration\n")
file(APPEND "${CMAKE_CURRENT_BINARY_DIR}/distribution_build_config.cmake"
"set(USE_QT ${USE_QT})\nset(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE})\nset(KUMIR2_ROOT ${CMAKE_INSTALL_PREFIX})\n"
"set(USE_QT ${USE_QT})\n"
"set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE})\n"
"set(KUMIR2_ROOT ${CMAKE_INSTALL_PREFIX})\n"
"set(KUMIR2_SDK_SCRIPTS_DIR ${KUMIR2_SDK_SCRIPTS_DIR})\n"
)
install(
FILES "${CMAKE_CURRENT_BINARY_DIR}/distribution_build_config.cmake"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment