Skip to content

Commit

Permalink
Fix CMakeLists.txt to use the correct path for the CellML library (te…
Browse files Browse the repository at this point in the history
…sted on Debian x86_64, where it won't compile without this patch).
  • Loading branch information
Andrew Miller committed Aug 28, 2012
1 parent bd238d4 commit 525e353
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ IF(USECELLML)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DUSECELLML ")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUSECELLML ")
SET(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -DUSECELLML ")
INCLUDE_DIRECTORIES(${GLOBAL_CELLMLML_ROOT}/${LIB_ARCH_DIR}${MT_SUFFIX}${DEBUG_SUFFIX}${PROF_SUFFIX}/${COMPILER}/include)
INCLUDE_DIRECTORIES(${GLOBAL_CELLML_ROOT}/${LIB_ARCH_DIR}${DEBUG_SUFFIX}${PROF_SUFFIX}/${COMPILER}/include)
ENDIF(USECELLML)

IF(USEFIELDML)
INCLUDE_DIRECTORIES(${GLOBAL_FIELDML_ROOT}/${LIB_ARCH_DIR}${MT_SUFFIX}${DEBUG_SUFFIX}${PROF_SUFFIX}/include)
INCLUDE_DIRECTORIES(${GLOBAL_FIELDML_ROOT}/${LIB_ARCH_DIR}${MT_SUFFIX}${DEBUG_SUFFIX}${PROF_SUFFIX}/${COMPILER}/include)
INCLUDE_DIRECTORIES(${GLOBAL_FIELDML_ROOT}/${LIB_ARCH_DIR}${DEBUG_SUFFIX}${PROF_SUFFIX}/include)
INCLUDE_DIRECTORIES(${GLOBAL_FIELDML_ROOT}/${LIB_ARCH_DIR}${DEBUG_SUFFIX}${PROF_SUFFIX}/${COMPILER}/include)
ENDIF(USEFIELDML)

SET(SOURCE_DIR ${GLOBAL_CM_ROOT}/src)
Expand Down

0 comments on commit 525e353

Please sign in to comment.