changeset 1467:5ba289143598

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 12 Jun 2020 13:27:41 +0200
parents 339cd78ff1a2
children 323bf6040f5d fab051fdc56d
files Resources/CMake/BoostExtendedConfiguration.cmake
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/BoostExtendedConfiguration.cmake	Fri Jun 12 10:45:58 2020 +0200
+++ b/Resources/CMake/BoostExtendedConfiguration.cmake	Fri Jun 12 13:27:41 2020 +0200
@@ -17,7 +17,7 @@
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
 
 
-if (BOOST_STATIC)
+if (STATIC_BUILD OR NOT USE_SYSTEM_BOOST)
   list(APPEND BOOST_EXTENDED_SOURCES
     ${BOOST_SOURCES_DIR}/libs/program_options/src/cmdline.cpp
     ${BOOST_SOURCES_DIR}/libs/program_options/src/config_file.cpp