Added define used to allow non-threadsafe reference counter

This commit is contained in:
Magne Sjaastad
2014-04-11 11:29:31 +02:00
parent 486f383de7
commit 48d6986954

View File

@@ -93,8 +93,15 @@ include (${QT_USE_FILE})
find_package( OpenGL )
################################################################################
# CeeViz
# Vizualization Framework
################################################################################
# Allow use of non-threadsafe reference counter in cvf::Object on systems with no atomics support
option(RESINSIGHT_WORKAROUND_ON_SYSTEMS_WITHOUT_ATOMICS "Allow use of non-threadsafe reference counter on systems with no atomics support" OFF)
if (RESINSIGHT_WORKAROUND_ON_SYSTEMS_WITHOUT_ATOMICS)
add_definitions(-DCVF_WORKAROUND_TO_COMPILE_ON_SYSTEMS_WITHOUT_ATOMICS)
endif()
add_subdirectory(${VIZ_MODULES_FOLDER_NAME}/LibCore)
add_subdirectory(${VIZ_MODULES_FOLDER_NAME}/LibGeometry)
add_subdirectory(${VIZ_MODULES_FOLDER_NAME}/LibRender)
@@ -111,7 +118,7 @@ include_directories(
################################################################################
# Ceetron Application Framework
# Application Framework
################################################################################
add_subdirectory(Fwk/AppFwk/cafProjectDataModel)