From 3b1e4e9fd67b393f6dde7af7cf097c5a2081c02f Mon Sep 17 00:00:00 2001 From: Leonardo Florez-Valencia Date: Thu, 16 Jun 2016 16:45:32 -0500 Subject: [PATCH] ... --- plugins/cpPluginsGenericFilters/CMakeLists.txt | 6 ++++++ plugins/cpPluginsIO/CMakeLists.txt | 6 ++++++ plugins/cpPluginsImageFilters/CMakeLists.txt | 6 ++++++ plugins/cpPluginsImageMeshFilters/CMakeLists.txt | 6 ++++++ plugins/cpPluginsMeshFilters/CMakeLists.txt | 6 ++++++ plugins/cpPluginsMeshSources/CMakeLists.txt | 6 ++++++ plugins/cpPluginsWidgets/CMakeLists.txt | 6 ++++++ 7 files changed, 42 insertions(+) diff --git a/plugins/cpPluginsGenericFilters/CMakeLists.txt b/plugins/cpPluginsGenericFilters/CMakeLists.txt index 1c6e009..390b005 100644 --- a/plugins/cpPluginsGenericFilters/CMakeLists.txt +++ b/plugins/cpPluginsGenericFilters/CMakeLists.txt @@ -4,12 +4,18 @@ FILE(GLOB lib_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cxx") SET(lib_OTHER_SOURCES "") SET(lib_QT4_HEADERS "") +SET(lib_LINKS) +IF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + SET(lib_LINKS cpPlugins ${cpPlugins_LIBRARIES}) +ENDIF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + cpPlugins_WrapPlugins( ${lib_NAME} ${prj_VER} ${prj_sVER} "${lib_HEADERS}" "${lib_SOURCES}" "${lib_OTHER_SOURCES}" "${lib_QT4_HEADERS}" + ${lib_LINKS} ) ## ======================== diff --git a/plugins/cpPluginsIO/CMakeLists.txt b/plugins/cpPluginsIO/CMakeLists.txt index aa7b377..50310ed 100644 --- a/plugins/cpPluginsIO/CMakeLists.txt +++ b/plugins/cpPluginsIO/CMakeLists.txt @@ -4,12 +4,18 @@ FILE(GLOB lib_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cxx") SET(lib_OTHER_SOURCES "") SET(lib_QT4_HEADERS "") +SET(lib_LINKS) +IF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + SET(lib_LINKS cpPlugins ${cpPlugins_LIBRARIES}) +ENDIF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + cpPlugins_WrapPlugins( ${lib_NAME} ${prj_VER} ${prj_sVER} "${lib_HEADERS}" "${lib_SOURCES}" "${lib_OTHER_SOURCES}" "${lib_QT4_HEADERS}" + ${lib_LINKS} ) ## ======================== diff --git a/plugins/cpPluginsImageFilters/CMakeLists.txt b/plugins/cpPluginsImageFilters/CMakeLists.txt index ed6fdec..3400a8d 100644 --- a/plugins/cpPluginsImageFilters/CMakeLists.txt +++ b/plugins/cpPluginsImageFilters/CMakeLists.txt @@ -4,12 +4,18 @@ FILE(GLOB lib_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cxx") SET(lib_OTHER_SOURCES "") SET(lib_QT4_HEADERS "") +SET(lib_LINKS) +IF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + SET(lib_LINKS cpPlugins ${cpPlugins_LIBRARIES}) +ENDIF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + cpPlugins_WrapPlugins( ${lib_NAME} ${prj_VER} ${prj_sVER} "${lib_HEADERS}" "${lib_SOURCES}" "${lib_OTHER_SOURCES}" "${lib_QT4_HEADERS}" + ${lib_LINKS} ) ## ======================== diff --git a/plugins/cpPluginsImageMeshFilters/CMakeLists.txt b/plugins/cpPluginsImageMeshFilters/CMakeLists.txt index 01d5725..932bec8 100644 --- a/plugins/cpPluginsImageMeshFilters/CMakeLists.txt +++ b/plugins/cpPluginsImageMeshFilters/CMakeLists.txt @@ -4,12 +4,18 @@ FILE(GLOB lib_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cxx") SET(lib_OTHER_SOURCES "") SET(lib_QT4_HEADERS "") +SET(lib_LINKS) +IF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + SET(lib_LINKS cpPlugins ${cpPlugins_LIBRARIES}) +ENDIF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + cpPlugins_WrapPlugins( ${lib_NAME} ${prj_VER} ${prj_sVER} "${lib_HEADERS}" "${lib_SOURCES}" "${lib_OTHER_SOURCES}" "${lib_QT4_HEADERS}" + ${lib_LINKS} ) ## ======================== diff --git a/plugins/cpPluginsMeshFilters/CMakeLists.txt b/plugins/cpPluginsMeshFilters/CMakeLists.txt index 5eceecd..e7c800d 100644 --- a/plugins/cpPluginsMeshFilters/CMakeLists.txt +++ b/plugins/cpPluginsMeshFilters/CMakeLists.txt @@ -4,12 +4,18 @@ FILE(GLOB lib_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cxx") SET(lib_OTHER_SOURCES "") SET(lib_QT4_HEADERS "") +SET(lib_LINKS) +IF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + SET(lib_LINKS cpPlugins ${cpPlugins_LIBRARIES}) +ENDIF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + cpPlugins_WrapPlugins( ${lib_NAME} ${prj_VER} ${prj_sVER} "${lib_HEADERS}" "${lib_SOURCES}" "${lib_OTHER_SOURCES}" "${lib_QT4_HEADERS}" + ${lib_LINKS} ) ## ======================== diff --git a/plugins/cpPluginsMeshSources/CMakeLists.txt b/plugins/cpPluginsMeshSources/CMakeLists.txt index 9fe09da..a43b959 100644 --- a/plugins/cpPluginsMeshSources/CMakeLists.txt +++ b/plugins/cpPluginsMeshSources/CMakeLists.txt @@ -4,12 +4,18 @@ FILE(GLOB lib_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cxx") SET(lib_OTHER_SOURCES "") SET(lib_QT4_HEADERS "") +SET(lib_LINKS) +IF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + SET(lib_LINKS cpPlugins ${cpPlugins_LIBRARIES}) +ENDIF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + cpPlugins_WrapPlugins( ${lib_NAME} ${prj_VER} ${prj_sVER} "${lib_HEADERS}" "${lib_SOURCES}" "${lib_OTHER_SOURCES}" "${lib_QT4_HEADERS}" + ${lib_LINKS} ) ## ======================== diff --git a/plugins/cpPluginsWidgets/CMakeLists.txt b/plugins/cpPluginsWidgets/CMakeLists.txt index 081f67f..49acd6a 100644 --- a/plugins/cpPluginsWidgets/CMakeLists.txt +++ b/plugins/cpPluginsWidgets/CMakeLists.txt @@ -4,12 +4,18 @@ FILE(GLOB lib_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.cxx") SET(lib_OTHER_SOURCES "") SET(lib_QT4_HEADERS "") +SET(lib_LINKS) +IF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + SET(lib_LINKS cpPlugins ${cpPlugins_LIBRARIES}) +ENDIF(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux") + cpPlugins_WrapPlugins( ${lib_NAME} ${prj_VER} ${prj_sVER} "${lib_HEADERS}" "${lib_SOURCES}" "${lib_OTHER_SOURCES}" "${lib_QT4_HEADERS}" + ${lib_LINKS} ) ## ======================== -- 2.47.1