|
@@ -1,5 +1,5 @@
|
|
-cmake_minimum_required(VERSION 2.8.12)
|
|
|
|
-project(606_AmbientOcclusion)
|
|
|
|
|
|
+get_filename_component(PROJECT_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
|
|
|
|
+project(${PROJECT_NAME})
|
|
|
|
|
|
add_executable(${PROJECT_NAME}_bin main.cpp)
|
|
add_executable(${PROJECT_NAME}_bin main.cpp)
|
|
target_link_libraries(${PROJECT_NAME}_bin igl::core igl::opengl igl::opengl_glfw igl::embree tutorials)
|
|
target_link_libraries(${PROJECT_NAME}_bin igl::core igl::opengl igl::opengl_glfw igl::embree tutorials)
|