diff --git a/knp/python-framework/CMakeLists.txt b/knp/python-framework/CMakeLists.txt index 422f94ff..2b2bf2fa 100644 --- a/knp/python-framework/CMakeLists.txt +++ b/knp/python-framework/CMakeLists.txt @@ -1,19 +1,19 @@ -#[[ -© 2024 AO Kaspersky Lab - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -]] - +#[[ +© 2024 AO Kaspersky Lab + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +]] + cmake_minimum_required(VERSION 3.25) set(CMAKE_CXX_STANDARD 17) @@ -84,10 +84,10 @@ add_custom_target("${PROJECT_NAME}-copy-common-python-files" ALL COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/packaging/python" "${KNP_PYTHON_OUTPUT_DIRECTORY}/knp") add_custom_target("${PROJECT_NAME}-copy-common-project-files" ALL COMMAND ${CMAKE_COMMAND} -E copy - "${CMAKE_SOURCE_DIR}/AUTHORS" - "${CMAKE_SOURCE_DIR}/LICENSE.txt" - "${CMAKE_SOURCE_DIR}/README.md" - "${CMAKE_SOURCE_DIR}/VERSION" + "${CMAKE_CURRENT_SOURCE_DIR}/../../AUTHORS" + "${CMAKE_CURRENT_SOURCE_DIR}/../../LICENSE.txt" + "${CMAKE_CURRENT_SOURCE_DIR}/../../README.md" + "${CMAKE_CURRENT_SOURCE_DIR}/../../VERSION" "${KNP_PYTHON_OUTPUT_DIRECTORY}") find_program(MYPY_STUBGEN stubgen REQUIRED)