v01
This commit is contained in:
19
thirdparty/Pangolin/examples/VBODisplay/CMakeLists.txt
vendored
Normal file
19
thirdparty/Pangolin/examples/VBODisplay/CMakeLists.txt
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# Find Pangolin (https://github.com/stevenlovegrove/Pangolin)
|
||||
find_package(Pangolin 0.4 REQUIRED)
|
||||
include_directories(${Pangolin_INCLUDE_DIRS})
|
||||
link_directories(${Pangolin_LIBRARY_DIRS})
|
||||
link_libraries(${Pangolin_LIBRARIES})
|
||||
|
||||
find_package(CUDA QUIET)
|
||||
|
||||
# This example could be made to work with C++11, but the kernel code must be
|
||||
# compiled without it.
|
||||
if(CUDA_FOUND)
|
||||
cuda_include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
cuda_add_executable(
|
||||
VBODisplay
|
||||
main.cpp kernal.cu
|
||||
)
|
||||
|
||||
endif()
|
||||
Reference in New Issue
Block a user