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

This commit is contained in:
2017-02-22 12:59:30 +00:00
parent 3be49c9b91
commit 02e0bddd09
2 changed files with 3 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ if (WIN32)
set(PIP_DLL_DIR "${CMAKE_CURRENT_BINARY_DIR}/pip")
endif()
set(LIST_LIBS pip qad_widgets qad_utils qad_application qad_blockview qad_graphic qad_sql_table piqt cd_utils qcd_utils kx_utils piqt_utils touch_widgets qglview)
set(LIST_LIBS pip qad_utils qad_widgets qad_application qad_blockview qad_graphic qad_sql_table piqt cd_utils qcd_utils kx_utils piqt_utils touch_widgets qglview)
foreach(L ${LIST_LIBS})
add_subdirectory(${L})
include_directories(${L})

View File

@@ -38,9 +38,11 @@ if (LIB)
install(FILES ${MOCS} DESTINATION ${CMAKE_INSTALL_PREFIX}/include)
install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
endif ()
install(TARGETS blockeditor DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
message(STATUS "Install to system \"${CMAKE_INSTALL_PREFIX}\"")
else ()
install(TARGETS ${PROJECT_NAME} DESTINATION bin)
install(TARGETS blockeditor DESTINATION bin)
message(STATUS "Install to local \"bin\"")
endif ()
add_subdirectory(plugin)