From e1b0b2dd3ef8b5a237834b16399cf0682af3876a Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 31 Jan 2014 15:16:17 +0000 Subject: [PATCH] Fix error in CMake. Export headers. --- src/HexoticPlugin/CMakeLists.txt | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/src/HexoticPlugin/CMakeLists.txt b/src/HexoticPlugin/CMakeLists.txt index ac451f1..68246e1 100644 --- a/src/HexoticPlugin/CMakeLists.txt +++ b/src/HexoticPlugin/CMakeLists.txt @@ -63,27 +63,12 @@ SET(_link_LIBRARIES # --- headers --- # header files -SET(NETGENEngine_HEADERS - NETGENPlugin_NETGEN_3D.hxx - NETGENPlugin_NETGEN_3D_i.hxx - NETGENPlugin_NETGEN_2D.hxx - NETGENPlugin_NETGEN_2D_i.hxx - NETGENPlugin_NETGEN_2D3D.hxx - NETGENPlugin_NETGEN_2D3D_i.hxx - NETGENPlugin_NETGEN_2D_ONLY.hxx - NETGENPlugin_NETGEN_2D_ONLY_i.hxx - NETGENPlugin_Hypothesis.hxx - NETGENPlugin_Hypothesis_i.hxx - NETGENPlugin_Hypothesis_2D.hxx - NETGENPlugin_Hypothesis_2D_i.hxx - NETGENPlugin_Hypothesis_3D_i.hxx - NETGENPlugin_Hypothesis_2D_ONLY_i.hxx - NETGENPlugin_SimpleHypothesis_2D.hxx - NETGENPlugin_SimpleHypothesis_3D.hxx - NETGENPlugin_SimpleHypothesis_2D_i.hxx - NETGENPlugin_SimpleHypothesis_3D_i.hxx - NETGENPlugin_Mesher.hxx - NETGENPlugin_Defs.hxx +SET(HexoticEngine_HEADERS + HexoticPlugin_Defs.hxx + HexoticPlugin_Hexotic.hxx + HexoticPlugin_Hexotic_i.hxx + HexoticPlugin_Hypothesis.hxx + HexoticPlugin_Hypothesis_i.hxx ) # --- sources --- @@ -116,4 +101,6 @@ ADD_LIBRARY(HexoticEngine ${HexoticEngine_SOURCES}) TARGET_LINK_LIBRARIES(HexoticEngine ${_link_LIBRARIES} ) INSTALL(TARGETS HexoticEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS}) +INSTALL(FILES ${HexoticEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS}) + SALOME_INSTALL_SCRIPTS("${_python_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/HexoticPLUGIN) -- 2.30.2