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

This commit is contained in:
2020-03-09 20:08:15 +00:00
parent 399a4c21bb
commit 2a42925d9d

View File

@@ -121,12 +121,14 @@ if(LIB)
endif()
endif()
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")
if (NOT DEFINED PIP_CMG)
if (CMAKE_CROSSCOMPILING OR (DEFINED ANDROID_PLATFORM))
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()
endif()