Commit 5924a877 authored by promayon's avatar promayon
Browse files

FIXED another FindCamiTK problem


git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@347 ec899d31-69d1-42ba-9299-647d76f65fb3
parent cc982f0c
......@@ -32,7 +32,9 @@ find_path(CAMITK_ROOT_DIR_GUESS
NAMES CamiTKAPI.h
PATHS ${CMAKE_CURRENT_SOURCE_DIR}/../camitk/core
)
if (CAMITK_ROOT_DIR_GUESS)
set(CAMITK_ROOT_DIR_GUESS_TESTED TRUE CACHE BOOL "Is variable ${CAMITK_ROOT_DIR_GUESS} already tested?")
if (CAMITK_ROOT_DIR_GUESS AND NOT CAMITK_ROOT_DIR_GUESS_TESTED)
set(CAMITK_IS_INSTALLED FALSE)
# if this directory was checkouted inside camitk-timc, CAMITK_INSTALL_ROOT could be already defined by CMake when camitk-timc/camitk was parsed/configured
# in this case, DO NOT reset CAMITK_INSTALL_ROOT
......@@ -61,6 +63,7 @@ if (NOT CAMITK_INSTALL_ROOT)
"C:/Programs/camitk"
"C:/Dev"
"C:/Dev/camitk"
"/home/promayon/Atelier/Dev/CamiTK-install-dir"
$ENV{CAMITK_DIR}
"${CMAKE_CURRENT_SOURCE_DIR}/.."
"${CMAKE_CURRENT_SOURCE_DIR}/../camitk"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment