File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -133,14 +133,13 @@ add_dependencies(bdmclean libbdmclean)
133
133
generate_rootlogon()
134
134
if (${ParaView_FOUND} )
135
135
link_directories ($ENV{ParaView_DIR} /../../paraview-5.4)
136
- target_link_libraries (biodynamo vtkPVPythonCatalyst vtkIOParallelXML
136
+ target_link_libraries (biodynamo vtkPVPythonCatalyst vtkIOParallelXML
137
137
vtkPVVTKExtensionsDefault vtkPVServerManagerRendering)
138
138
endif ()
139
139
140
140
# create cmake files used by external builds
141
141
configure_file ("cmake/UseBioDynaMo.cmake.in" "UseBioDynaMo.cmake" @ONLY)
142
- # create snapcraft config file
143
- configure_file ("cmake/snapcraft.yaml.in" "snapcraft.yaml" @ONLY)
142
+
144
143
145
144
# -------------------- build test project ------------------------------------
146
145
if (test )
@@ -198,7 +197,10 @@ include(cmake/Installation.cmake)
198
197
# -------------------- add targets for code style and submission checks --------
199
198
include (cmake/CppStyleGuideChecks.cmake)
200
199
201
- # -------------------- add target to build snap package ------------------------
200
+ # -------------------- build snap package --------------------------------------
201
+ # create snapcraft config file
202
+ configure_file ("cmake/snapcraft.yaml.in" "snapcraft.yaml" @ONLY)
203
+
202
204
add_custom_target (snap-package
203
205
COMMAND ../cmake/build_snap_package.sh ${CMAKE_INSTALL_PREFIX}
204
206
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
You can’t perform that action at this time.
0 commit comments