Fix for endiantest, xcode condition interferred with other os
This commit is contained in:
@@ -1480,9 +1480,12 @@ endif()
|
||||
|
||||
|
||||
# set the endian define
|
||||
if(MSVC OR ${XCODE_VERSION} VERSION_GREATER 4.3) # no more ppc support in xcode > 4.3
|
||||
if(MSVC)
|
||||
# for some reason this fails on msvc
|
||||
add_definitions(-D__LITTLE_ENDIAN__)
|
||||
elseif(APPLE AND ${XCODE_VERSION} VERSION_GREATER 4.3)
|
||||
# no more ppc support in xcode > 4.3
|
||||
add_definitions(-D__LITTLE_ENDIAN__)
|
||||
else()
|
||||
include(TestBigEndian)
|
||||
test_big_endian(_SYSTEM_BIG_ENDIAN)
|
||||
|
@@ -61,12 +61,12 @@ CCL_NAMESPACE_BEGIN
|
||||
#endif
|
||||
|
||||
#ifdef __KERNEL_OPENCL_APPLE__
|
||||
//#define __SVM__
|
||||
//#define __EMISSION__
|
||||
//#define __IMAGE_TEXTURES__
|
||||
//#define __HOLDOUT__
|
||||
//#define __PROCEDURAL_TEXTURES__
|
||||
//#define __EXTRA_NODES__
|
||||
#define __SVM__
|
||||
#define __EMISSION__
|
||||
#define __IMAGE_TEXTURES__
|
||||
#define __HOLDOUT__
|
||||
#define __PROCEDURAL_TEXTURES__
|
||||
#define __EXTRA_NODES__
|
||||
#endif
|
||||
|
||||
#ifdef __KERNEL_OPENCL_AMD__
|
||||
|
Reference in New Issue
Block a user