Changeset 35 for CMakeLists.txt

Show
Ignore:
Timestamp:
03/09/08 12:44:35 (16 years ago)
Author:
mido
Message:

zasadni zmeny ve /win32

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r31 r35  
    44project (BDM) 
    55 
    6  
    76# In order to be able to use the newly written FindXXX package, the  
    87# 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: 
     9set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}\\CMake_modules\\") 
    1410 
    1511###################### 
    1612#Platform specific 
    1713IF(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 
    1823        FIND_PACKAGE(ITPP REQUIRED) 
    1924        FIND_PACKAGE(ACML REQUIRED) 
     
    2126        IF(ITPP_FOUND) 
    2227           INCLUDE_DIRECTORIES(${ITPP_INCLUDE_DIR}) 
     28           LINK_DIRECTORIES(${NATIVE_ITPP_LIB_PATH}) 
    2329        ENDIF(ITPP_FOUND) 
    2430