File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -211,11 +211,13 @@ endif(WITH_TEST)
211211#==============================================================================
212212# EXECUTABLE
213213#==============================================================================
214- add_executable (Aero src/main.cpp)
215- target_link_libraries (Aero PRIVATE ${GMDS_LIB} )
216- target_compile_features (Aero PUBLIC cxx_std_14)
217- install (TARGETS Aero)
214+ if (WITH_CGNS)
215+ add_executable (Aero src/main.cpp)
216+ target_link_libraries (Aero PRIVATE ${GMDS_LIB} )
217+ target_compile_features (Aero PUBLIC cxx_std_14)
218+ install (TARGETS Aero)
218219
219- add_executable (aero_dev src/main_dev.cpp)
220- target_link_libraries (aero_dev PRIVATE ${GMDS_LIB} )
221- target_compile_features (aero_dev PUBLIC cxx_std_14)
220+ add_executable (aero_dev src/main_dev.cpp)
221+ target_link_libraries (aero_dev PRIVATE ${GMDS_LIB} )
222+ target_compile_features (aero_dev PUBLIC cxx_std_14)
223+ endif ()
You can’t perform that action at this time.
0 commit comments