Codebase list cppad / 51eb799
master: CMakeLists.txt: make incldue_pkg a cache variable. pkgconfig_info.cmake: better spacing in error message. Brad Bell 3 years ago
2 changed file(s) with 11 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
183183 "debug_even, debug_odd, debug_all, or debug_none"
184184 )
185185 assert_value_in_set(cppad_debug_which debug_even debug_odd debug_all debug_none)
186 #
187 # include_eigen
188 # include_adolc
189 # include_ipopt
190 # include_cppadcg
191 FOREACH(package eigen adolc ipopt cppadcg)
192 command_line_arg(include_${package} "false" BOOL
193 "include the ${package} examples and tests"
194 )
195 ENDFOREACH(package eigen adolc ipopt cppadcg)
186196 # -----------------------------------------------------------------------------
187197 # CMAKE_INSTALL_PREFIX
188198 SET(CMAKE_INSTALL_PREFIX "${cppad_prefix}"
3636 ELSE( ${name}_FOUND )
3737 MESSAGE(FATAL_ERROR
3838 "Cannot find ${name}.pc or one of the packages it requires."
39 "PKG_CONFIG_PATH=$ENV{PKG_CONFIG_PATH}"
39 " PKG_CONFIG_PATH=$ENV{PKG_CONFIG_PATH}"
4040 )
4141 ENDIF( ${name}_FOUND )
4242 #