git-svn-id: svn://db.shs.com.ru/pip@938 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2020-03-09 15:37:49 +00:00
parent 8a3c6d8196
commit f05934521b

View File

@@ -121,7 +121,10 @@ if(LIB)
endif()
endif()
if ("x${PIP_RC}" STREQUAL "x")
if((CMAKE_CROSSCOMPILING OR (DEFINED ANDROID_PLATFORM)) AND (NOT PIP_CMG))
set(PIP_CMG "pip_cmg")
set(PIP_RC "pip_rc")
else()
set(PIP_CMG "${CMAKE_CURRENT_BINARY_DIR}/utils/code_model_generator/pip_cmg")
set(PIP_RC "${CMAKE_CURRENT_BINARY_DIR}/utils/resources_compiler/pip_rc")
endif()