git-svn-id: svn://db.shs.com.ru/libs@867 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2020-03-19 12:21:09 +00:00
parent 4af4e914e2
commit d3b1a0070c
2 changed files with 10 additions and 2 deletions

View File

@@ -70,7 +70,11 @@ set(PIP_FOLDERS "." "core" "containers" "thread" "system" "io_devices" "io_utils
set(PIP_INCLUDES) set(PIP_INCLUDES)
if(LIB) if(LIB)
if(NOT WIN32) if(WIN32)
if(MINGW)
set(CMAKE_INSTALL_PREFIX ${MINGW_DIR})
endif()
else()
if (DEFINED ANDROID_PLATFORM) if (DEFINED ANDROID_PLATFORM)
set(CMAKE_INSTALL_PREFIX ${ANDROID_SYSTEM_LIBRARY_PATH}/usr) set(CMAKE_INSTALL_PREFIX ${ANDROID_SYSTEM_LIBRARY_PATH}/usr)
else() else()

View File

@@ -36,7 +36,11 @@ endif()
if (NOT LIBPROJECT) if (NOT LIBPROJECT)
if (LIB) if (LIB)
if (NOT WIN32) if(WIN32)
if(MINGW)
set(CMAKE_INSTALL_PREFIX ${MINGW_DIR})
endif()
else()
if (DEFINED ANDROID_PLATFORM) if (DEFINED ANDROID_PLATFORM)
set(CMAKE_INSTALL_PREFIX ${ANDROID_SYSTEM_LIBRARY_PATH}/usr) set(CMAKE_INSTALL_PREFIX ${ANDROID_SYSTEM_LIBRARY_PATH}/usr)
else() else()