fix building cycles standalone on windows / cmake
This commit is contained in:
@@ -2258,7 +2258,7 @@ if(WITH_BLENDER OR WITH_PLAYER)
|
||||
add_subdirectory(extern)
|
||||
elseif(WITH_CYCLES_STANDALONE)
|
||||
add_subdirectory(intern/cycles)
|
||||
if(WITH_CYCLES_STANDALONE_GUI)
|
||||
if(NOT WITH_SYSTEM_GLEW)
|
||||
add_subdirectory(extern/glew)
|
||||
endif()
|
||||
endif()
|
||||
|
@@ -54,6 +54,7 @@ if(WITH_CYCLES_STANDALONE)
|
||||
cycles_xml.h
|
||||
)
|
||||
add_executable(cycles ${SRC})
|
||||
list(APPEND LIBRARIES ${PLATFORM_LINKLIBS})
|
||||
target_link_libraries(cycles ${LIBRARIES} ${CMAKE_DL_LIBS})
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
|
Reference in New Issue
Block a user