Changeset 25
- Timestamp:
- 02/19/08 23:06:32 (17 years ago)
- Files:
-
- 2 added
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r20 r25 4 4 project (BDM) 5 5 6 7 # In order to be able to use the newly written FindXXX package, the 8 # 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 14 6 15 ###################### 7 16 #Platform specific 8 17 IF(WIN32) 9 ########### TOHLE BY BYLO HEZKE JAKO MODUL DO CMakeu.... 10 # najdi knihovny a include... 11 FIND_PATH(ITPP_INCLUDE_DIR itpp/itbase.h 12 C:\\ 13 # a dalsi 14 ) 15 FIND_LIBRARY(ITPP_LIB_DIR 16 libitpp 17 ${ITPP_INCLUDE}/lib 18 C:\\ 19 C:\\Program Files 20 # a dalsi 21 ) 22 INCLUDE_DIRECTORY(ITPP_INCLUDE) 18 FIND_PACKAGE(ITPP REQUIRED) 19 20 IF(ITPP_FOUND) 21 INCLUDE_DIRECTORIES(${ITPP_INCLUDE_DIR}) 22 23 # veci z puvodniho png findu.. for inspiration only 24 # ADD_EXECUTABLE(imageviewer main.c image.c) 25 # TARGET_LINK_LIBRARIES(imageviewer ${PNG_LIBRARY}) 26 27 ENDIF(ITPP_FOUND) 28 23 29 ELSE(WIN32) 24 30 #This is for UNIX makefile which does only one release at a time.