[Insight-users] (no subject)
fito@unizar.es
fito at unizar . es
Mon, 4 Aug 2003 17:45:38 +0200
Hi Luis
This is the CMakeLists.txt file
I've tried with remarked (#) lines first and then with the others. The same
results.
---------------------------------------------------------------
PROJECT(myProject)
FIND_PACKAGE(ITK)
IF(ITK_FOUND)
INCLUDE(${ITK_USE_FILE})
ELSE(ITK_FOUND)
MESSAGE(FATAL_ERROR "ITK not found. Please set ITK_DIR.")
ENDIF(ITK_FOUND)
#INCLUDE (${CMAKE_ROOT}/Modules/FindITK.cmake)
#IF ( USE_ITK_FILE )
#INCLUDE(${USE_ITK_FILE})
#ENDIF( USE_ITK_FILE )
ADD_EXECUTABLE(myProject pruebaitk.cpp )
TARGET_LINK_LIBRARIES(myProject ITKCommon)
#TARGET_LINK_LIBRARIES (myProject ${ITK_LIBRARIES})
---------------------------------------------------------------
Thanks for the advice about editting VC environments. I'll try to learn more
about CMakeLists config.
Thanks!
Adolfo G.U.