2121# required_definition( variable type docstring )
2222#
2323# variable
24- # If this varaible is defined, echo its definition in the output.
24+ # If this variable is defined, echo its definition in the output.
2525# Otherwise output a fatal error message.
2626#
2727# type
@@ -168,7 +168,7 @@ list(FIND
168168 isSystemDir
169169)
170170if ("${isSystemDir} " STREQUAL "-1" )
171- set (CMAKE_INSTALL_RPATH "${dismod_at_pefix } /${cmake_libdir} " )
171+ set (CMAKE_INSTALL_RPATH "${dismod_at_prefix } /${cmake_libdir} " )
172172endif ("${isSystemDir} " STREQUAL "-1" )
173173# ----------------------------------------------------------------------------
174174# package information for: gsl, eigen, ipopt, cppad_mixed, cppad, CHOLMOD
@@ -187,7 +187,7 @@ FOREACH(pkg gsl eigen3 ipopt cppad_mixed cppad CHOLMOD)
187187 MESSAGE (FATAL_ERROR "PKG_CONFIG_PATH=$ENV{PKG_CONFIG_PATH} " )
188188 ENDIF ( )
189189 ENDIF ( ${pkg} _FOUND )
190- # INLCUDE_DIRECTORIES
190+ # INCLUDE_DIRECTORIES
191191 IF ( ${pkg} STREQUAL "eigen3" )
192192 INCLUDE_DIRECTORIES ( SYSTEM ${eigen3_INCLUDE_DIRS} )
193193 ELSE ( ${pkg} STREQUAL "eigen3" )
@@ -208,7 +208,7 @@ INCLUDE_DIRECTORIES( ${SQLite3_INCLUDE_DIRS} )
208208#
209209# package information for: CHOLMOD
210210# The cppad_mixed.hpp file includes cholmod.h so this is needed.
211- # Fedora 42 uses CHOLMOD.pc (above) becasue FIND_PACKAGE(CHOLMOD) is broken
211+ # Fedora 42 uses CHOLMOD.pc (above) because FIND_PACKAGE(CHOLMOD) is broken
212212IF ( "$CHOLMOD_INDLUDE_DIR" STREQUAL "NOTFOUND" )
213213 FIND_PACKAGE (CHOLMOD )
214214 INCLUDE_DIRECTORIES ( "${CHOLMOD_INCLUDE_DIR} " )
0 commit comments