File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,21 +138,25 @@ else()
138138 # link against static boost libraries
139139 if (NOT DEFINED Boost_USE_STATIC_LIBS)
140140 if (BUILD_SHARED_LIBS )
141- set (Boost_USE_STATIC_LIBS 0 )
141+ set (Boost_USE_STATIC_LIBS OFF )
142142 else ()
143- set (Boost_USE_STATIC_LIBS 1 )
143+ set (Boost_USE_STATIC_LIBS ON )
144144 endif ()
145145 endif ()
146146
147147 # Boost static runtime ON for MSVC
148148 if (NOT DEFINED Boost_USE_STATIC_RUNTIME)
149149 if (BUILD_SHARED_LIBS )
150- set (Boost_USE_STATIC_RUNTIME 0 )
150+ set (Boost_USE_STATIC_RUNTIME OFF )
151151 else ()
152- set (Boost_USE_STATIC_RUNTIME 1 )
152+ set (Boost_USE_STATIC_RUNTIME ON )
153153 endif ()
154154 endif ()
155155
156+ # Use Boost Release
157+ set (Boost_USE_DEBUG_LIBS OFF )
158+ set (Boost_USE_RELEASE_LIBS ON )
159+
156160 if (NOT Boost_USE_STATIC_LIBS)
157161 # link against dynamic boost libraries
158162 add_definitions (-DBOOST_ALL_DYN_LINK )
You can’t perform that action at this time.
0 commit comments