Update CMake module search path

This commit is contained in:
Rob Armstrong
2025-01-14 09:14:29 -08:00
parent 380c065a0c
commit f8fbd04007
194 changed files with 203 additions and 204 deletions

View File

@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.20)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules")
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/Modules")
project(simpleCUDA2GL LANGUAGES C CXX CUDA)
@@ -24,7 +24,7 @@ if(${OpenGL_FOUND})
if (${GLUT_FOUND})
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
message(STATUS "Will not build sample simpleCUDA2GL - not supported on aarch64")
else()
else()
# Add target for simpleCUDA2GL
add_executable(simpleCUDA2GL simpleCUDA2GL.cu main.cpp)
@@ -39,7 +39,7 @@ if(${OpenGL_FOUND})
${CUDAToolkit_INCLUDE_DIRS}
${GLUT_INCLUDE_DIRS}
)
target_link_libraries(simpleCUDA2GL
${OPENGL_LIBRARIES}
${GLUT_LIBRARIES}