Commit 130635f1 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[CHANGE] CMake now provides an option to enable the Boost program_options...

[CHANGE] CMake now provides an option to enable the Boost program_options linker fix. Enabled by default as it also works on systems that do not suffer from this issues.
parent 6aa2ec02
......@@ -136,6 +136,15 @@ ADD_DEPENDENCIES( install_devdoc core_devdoc )
# build core
ADD_SUBDIRECTORY( core )
# -----------------------------------------------------------------------------------------------------------------------------------------------
# Activate Boost Fix:
OPTION( OW_BOOST_PO_FIX "Enable this to enable the boost::program_options linker fix." ON )
IF( OW_BOOST_PO_FIX )
# Disable if you get errors relating to program_options::arg when linking the binary
ADD_DEFINITIONS( "-DOW_BOOST_PROGRAM_OPTIONS_FIX" )
ENDIF()
# -----------------------------------------------------------------------------------------------------------------------------------------------
# QT GUI
......
......@@ -51,7 +51,7 @@ PACKAGES="deb src"
# As we only need a source DEB, we do not build the deb for all supported distributions. The NeuroDebian project is doing this.
# DISTRIBUTIONS_DEB="sid wheezy squeeze lucid maverick natty"
DISTRIBUTIONS_DEB="sid jessie stretch utopic vivid wily"
DISTRIBUTIONS_DEB="sid jessie vivid wily"
# use these distributions to build binary tgz
#DISTRIBUTIONS_TGZ="sid wheezy squeeze lucid maverick natty"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment