make some cmake/boost/compiler combinations happy.

This commit is contained in:
suter_a 2020-05-19 15:44:37 +02:00
parent 815ca7162f
commit 9af6b1fb8e

View File

@ -61,6 +61,13 @@ else (APPLE)
add_executable(mupp ${GENERATED_HEADER_FILES} ${MUPP_SOURCE_FILES} qrc_mupp.cpp) add_executable(mupp ${GENERATED_HEADER_FILES} ${MUPP_SOURCE_FILES} qrc_mupp.cpp)
endif (APPLE) endif (APPLE)
#--- compiler option to workaround a little cast problem for some
#--- boost/compiler combinations ----------------------------------------------
target_compile_options(mupp
PRIVATE
"-fpermissive"
)
#--- add the variable related sources ----------------------------------------- #--- add the variable related sources -----------------------------------------
add_subdirectory(var) add_subdirectory(var)