Skip to content

Commit

Permalink
Hack: Set Zaber to compile with C++17 (autotools)
Browse files Browse the repository at this point in the history
  • Loading branch information
marktsuchida committed Aug 25, 2023
1 parent 5b85fff commit 056a6ac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion DeviceAdapters/Zaber/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
AM_CXXFLAGS = $(MMDEVAPI_CXXFLAGS) -I$(MMTHIRDPARTYPUBLIC)/Zaber/zaber-motion/include
# We require C++17 because libzml is C++17. Setting the C++ standard for
# individual device adapters is a hack and should not be imitated except when
# there is no other option.
AM_CXXFLAGS = $(MMDEVAPI_CXXFLAGS) -I$(MMTHIRDPARTYPUBLIC)/Zaber/zaber-motion/include -std=c++17 -Wno-dynamic-exception-spec

deviceadapter_LTLIBRARIES = libmmgr_dal_Zaber.la
libmmgr_dal_Zaber_la_SOURCES = \
ObjectiveChanger.cpp \
Expand Down

0 comments on commit 056a6ac

Please sign in to comment.