#-----------------------------------------------------------------------------
# Set global configuration of the toolkit
-INCLUDE(kernel/cmake/BBTKRootCMakeLists.cmake)
+INCLUDE(kernel/cmake/BBTKRootCMakeLists.cmake NO_POLICY_SCOPE )
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
MESSAGE(FATAL_ERROR "bbi not found in ${BBTK_DIR}/bin ; ${BBTK_DIR}/Release ; ${BBTK_DIR}/Debug ; ${BBTK_DIR}/RelWithDebInfo : is bbtk properly built ?")
ENDIF(NOT BBTK_BIN_PATH)
- SET (ADDITIONAL_DLL_PATH "C:/Program Files/CreaTools/crea_ThirdParty_dlls-0.2.0/bin" CACHE PATH "Additional paths in which to look for dlls")
+## SET (ADDITIONAL_DLL_PATH "C:/Program Files/CreaTools/crea_ThirdParty_dlls-0.2.0/bin" CACHE PATH "Additional paths in which to look for dlls")
SET(BBTK_PACKAGE_LIB_PATH bin)
SET(BBTK_BBI "${BBTK_BIN_PATH}/bbi")
#-----------------------------------------------------------------------------
# 11/12/08 : BBTK IS NOW BASED ON crea
SET(CREA_VERBOSE_CMAKE TRUE)
-FIND_PACKAGE(crea REQUIRED)
+FIND_PACKAGE(crea REQUIRED )
set(crea_BUILD_SETTINGS_FILE OFF)
IF (crea_FOUND)
- INCLUDE(${crea_USE_FILE})
+ INCLUDE(${crea_USE_FILE} )
ENDIF(crea_FOUND)
#-----------------------------------------------------------------------------
ENDIF(USE_DOT)
# SET(DLL_PATHA Path=${ADDITIONAL_DLL_PATH}__RR__%WXWIN%/lib/vc_dll/__RR__%VTK_DIR%__RR__%ITK_DIR%/../../bin/__RR__%PATH%__RR__${DOT_DIR})
SET(DLL_PATHA ${ADDITIONAL_DLL_PATH}__RR__${DOT_DIR}__RR__)
+
FOREACH(APATH $ENV{PATH})
SET(DLL_PATHA ${DLL_PATHA}__RR__${APATH})
ENDFOREACH(APATH)