diff options
Diffstat (limited to 'intern/cycles/app/CMakeLists.txt')
-rw-r--r-- | intern/cycles/app/CMakeLists.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/intern/cycles/app/CMakeLists.txt b/intern/cycles/app/CMakeLists.txt index 3fb8aaf934f..347da075d05 100644 --- a/intern/cycles/app/CMakeLists.txt +++ b/intern/cycles/app/CMakeLists.txt @@ -27,7 +27,7 @@ set(LIBRARIES link_directories(${OPENIMAGEIO_LIBPATH} ${BOOST_LIBPATH}) -if(WITH_CYCLES_TEST) +if(WITH_CYCLES_STANDALONE) list(APPEND LIBRARIES ${GLUT_LIBRARIES}) endif() @@ -38,17 +38,17 @@ endif() include_directories(${INC}) include_directories(SYSTEM ${INC_SYS}) -if(WITH_CYCLES_TEST) +if(WITH_CYCLES_STANDALONE) set(SRC - cycles_test.cpp + cycles_standalone.cpp cycles_xml.cpp cycles_xml.h ) - add_executable(cycles_test ${SRC}) - target_link_libraries(cycles_test ${LIBRARIES}) + add_executable(cycles ${SRC}) + target_link_libraries(cycles ${LIBRARIES}) if(UNIX AND NOT APPLE) - set_target_properties(cycles_test PROPERTIES INSTALL_RPATH $ORIGIN/lib) + set_target_properties(cycles PROPERTIES INSTALL_RPATH $ORIGIN/lib) endif() unset(SRC) endif() |