diff --git a/CMakeLists.txt b/CMakeLists.txt index 93a8be8..cbcaa57 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) diff --git a/qad_blockview/CMakeLists.txt b/qad_blockview/CMakeLists.txt index bba99c9..563d534 100644 --- a/qad_blockview/CMakeLists.txt +++ b/qad_blockview/CMakeLists.txt @@ -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)