Changeset 320 for CMakeLists.txt
- Timestamp:
- 04/23/09 15:00:26 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r319 r320 38 38 SET(CMAKE_CXX_FLAGS_DEBUG "-g -O0") 39 39 #ADD_DEFINITIONS(-DNDEBUG) 40 INCLUDE(CMakeLocal.txt OPTIONAL) 40 41 SET(MATLAB_ROOT ~/bin/matlab2008a) 42 # MATLAB_ROOT can be setup in Local 41 43 ENDIF(UNIX) 44 45 # Local ettings should be written to file called CMakeLists.local 46 # Use this option for machine-specific options, such as prallel architectures 47 INCLUDE(CMakeLists.local OPTIONAL) 42 48 43 49 FIND_PACKAGE(ITPP REQUIRED) 44 50 FIND_PACKAGE(ACML COMPONENTS) 45 #FIND_PACKAGE(XERCES COMPONENTS) 51 FIND_PACKAGE(Matlab COMPONENTS) 52 FIND_PROGRAM(MEX_COMPILER mex) 46 53 47 54 IF(ITPP_FOUND) … … 74 81 target_link_libraries (${FN} ${ARGN}) ## Additional libraries can be added to a macro 75 82 ENDMACRO(EXEC) 83 76 84 77 78 # Local ettings should be written to file called CMakeLists.local79 # Use this option for machine-specific options, such as prallel architectures80 INCLUDE(CMakeLists.local OPTIONAL)81 85 82 86 # Recurse into the "dbm" and "tests" subdirectories. This does not actually