Changeset 35 for CMakeLists.txt
- Timestamp:
- 03/09/08 12:44:35 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r31 r35 4 4 project (BDM) 5 5 6 7 6 # In order to be able to use the newly written FindXXX package, the 8 7 # location of the FindXXX.cmake file must be added to the cmake modules 9 # list from within a CMakeLists.txt file as follows (assuming that 10 # FindFoo.cmake exists within a directory called cmake_modules within 11 # the top-level source directory): 12 set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMake_modules/") 13 8 # list from within a CMakeLists.txt file as follows: 9 set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}\\CMake_modules\\") 14 10 15 11 ###################### 16 12 #Platform specific 17 13 IF(WIN32) 14 15 # IF YOU WANT TO USE YOUR OWN INSTALLATION OF ITTP AND/OR ACML LIBRARIES, 16 # THEN IT IS NECESSARY TO CREATE TEXT FILE "\WIN32\LOCAL_PATHS.TXT" WITH 17 # COPIES OF THE TWO FOLLOWING LINES AND THEN CORECT BOTH INVOLVED PATHS 18 SET(ITPP_DIR ".\\win32\\itpp-4.0.1") 19 SET(ACML_DIR ".\\win32\\acml3.6.0") 20 21 INCLUDE(\\win32\\local_paths.txt OPTIONAL) 22 18 23 FIND_PACKAGE(ITPP REQUIRED) 19 24 FIND_PACKAGE(ACML REQUIRED) … … 21 26 IF(ITPP_FOUND) 22 27 INCLUDE_DIRECTORIES(${ITPP_INCLUDE_DIR}) 28 LINK_DIRECTORIES(${NATIVE_ITPP_LIB_PATH}) 23 29 ENDIF(ITPP_FOUND) 24 30