diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-02-09 05:48:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-02-09 05:50:05 +0300 |
commit | 8f9386596fb0471c972921e6543b3a0adc3ffb3d (patch) | |
tree | b7c8cb21b810bb4c54af45fa3805a20bb25a93c9 /intern/cycles | |
parent | 8a6b83d27e4f88d44806287efaf2011389017e73 (diff) |
CMake: include missing headers
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/CMakeLists.txt | 2 | ||||
-rw-r--r-- | intern/cycles/app/CMakeLists.txt | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/intern/cycles/CMakeLists.txt b/intern/cycles/CMakeLists.txt index f720d389cbf..e7b934ec74f 100644 --- a/intern/cycles/CMakeLists.txt +++ b/intern/cycles/CMakeLists.txt @@ -253,7 +253,7 @@ if(WITH_CYCLES_CUDA_BINARIES AND (NOT WITH_CYCLES_CUBIN_COMPILER)) elseif(${CUDA_VERSION} EQUAL "9.1") set(MAX_MSVC 1911) endif() - if (NOT MSVC_VERSION LESS ${MAX_MSVC}) + if(NOT MSVC_VERSION LESS ${MAX_MSVC}) message(STATUS "nvcc not supported for this compiler version, using cycles_cubin_cc instead.") set(WITH_CYCLES_CUBIN_COMPILER ON) endif() diff --git a/intern/cycles/app/CMakeLists.txt b/intern/cycles/app/CMakeLists.txt index 9ebeceb1659..a8e0297aeaa 100644 --- a/intern/cycles/app/CMakeLists.txt +++ b/intern/cycles/app/CMakeLists.txt @@ -128,8 +128,12 @@ if(WITH_CYCLES_CUBIN_COMPILER) if(MSVC AND NOT CMAKE_CL_64) Message("cycles_cubin_cc not supported on x86") else() - set(SRC cycles_cubin_cc.cpp) - set(INC ../../../extern/cuew/include) + set(SRC + cycles_cubin_cc.cpp + ) + set(INC + ../../../extern/cuew/include + ) add_executable(cycles_cubin_cc ${SRC}) include_directories(${INC}) target_link_libraries(cycles_cubin_cc |