Skip to content

Commit

Permalink
Add CURRENT suffix to CMAKE_DIR in python-framework CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
LandauSchwinger committed Nov 15, 2024
1 parent 7e1cec2 commit 6283b3c
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions knp/python-framework/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 6283b3c

Please sign in to comment.