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

This commit is contained in:
2017-05-16 12:06:39 +00:00
parent 15048f93de
commit d81548aae7
8 changed files with 52 additions and 47 deletions

View File

@@ -22,19 +22,19 @@ set(PIP_FOLDERS "." "core" "containers" "thread" "system" "io" "console" "math"
set(PIP_INCLUDES)
if (LIB)
if (WIN32)
if(WIN32)
set(CMAKE_INSTALL_PREFIX ${MINGW_DIR})
else ()
else()
if(APPLE)
set(CMAKE_INSTALL_PREFIX /usr/local)
else()
set(CMAKE_INSTALL_PREFIX /usr)
endif()
endif ()
endif()
message(STATUS "Install to system \"${CMAKE_INSTALL_PREFIX}\"")
else ()
else()
message(STATUS "Install to local \"bin\"")
endif ()
endif()
foreach(F ${PIP_FOLDERS})
list(APPEND PIP_INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/pip/src_main/${F}")