Commit 80f62a6a authored by Victor Yacovlev's avatar Victor Yacovlev

.py search without prefix (RPM adds it by %python3_sitelib macro)

parent 45e9447b
......@@ -245,7 +245,7 @@ function(kumir2_add_actor)
if(EXISTS "${CMAKE_SOURCE_DIR}/scripts/gen_actor_source.py")
set(GEN_ACTOR_SOURCE_SCRIPT "${CMAKE_SOURCE_DIR}/scripts/gen_actor_source.py")
else()
set(GEN_ACTOR_SOURCE_SCRIPT "${KUMIR2_INSTALL_PREFIX}/${KUMIR2_SDK_SCRIPTS_DIR}/gen_actor_source.py")
set(GEN_ACTOR_SOURCE_SCRIPT "${KUMIR2_SDK_SCRIPTS_DIR}/gen_actor_source.py")
endif()
set(MOC_PARAMS)
if(${USE_QT} GREATER 4)
......
......@@ -26,7 +26,7 @@ endif(NOT DEFINED KUMIR2_LIBEXECS_DIR)
if(NOT DEFINED KUMIR2_SDK_SCRIPTS_DIR)
# various Linux distros have different locations for SDK supplementary executables,
# so allow to keep previously defined variable if set
set(KUMIR2_SDK_SCRIPTS_DIR ${KUMIR2_LIBS_DIR}) # devel scripts
set(KUMIR2_SDK_SCRIPTS_DIR "${KUMIR2_INSTALL_PREFIX}/${KUMIR2_LIBS_DIR}") # devel scripts
endif(NOT DEFINED KUMIR2_SDK_SCRIPTS_DIR)
if(NOT DEFINED KUMIR2_SDK_CMAKE_DIR)
......
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