Commit 2d34ab4e authored by Matt Pharr's avatar Matt Pharr Committed by Jan Scheffczyk

CMakeLists: remove escaping for __declspec(noinline)

parent 888c4e4b
......@@ -186,7 +186,7 @@ int main() { }"
HAVE_ATTRIBUTE_NOINLINE )
IF ( HAVE_DECLSPEC_NOINLINE )
ADD_DEFINITIONS ( -D "PBRT_NOINLINE=__declspec\\(noinline\\)" )
ADD_DEFINITIONS ( -D "PBRT_NOINLINE=__declspec(noinline)" )
ELSEIF ( HAVE_ATTRIBUTE_NOINLINE )
ADD_DEFINITIONS ( -D "PBRT_NOINLINE=__attribute__\\(\\(noinline\\)\\)" )
ELSE ()
......
Markdown is supported
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