Skip to content

Commit 996ea65

Browse files
author
Y
committed
removed commented lines
1 parent dbb1fdc commit 996ea65

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

voxelizer/SYCL/CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ PROJECT(voxelizer LANGUAGES CXX)
2626
set(CMAKE_CXX_STANDARD 17) # SYCL code requires this
2727
set(CMAKE_CXX_STANDARD_REQUIRED ON) # Enable modern C++ standards
2828

29-
# set(CMAKE_CXX_EXTENSIONS OFF) # Use -std, not -gnu
30-
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fopenmp")
3129
option(ENABLE_KERNEL_PROFILING "Build using kernel profiling" OFF)
3230
option(GPU_AOT "Build AOT for Intel GPU" OFF)
3331
option(USE_NVIDIA_BACKEND "Build for NVIDIA backend" OFF)
@@ -38,12 +36,10 @@ option(USE_SM "Specifies which streaming multiprocessor architecture to use")
3836
option(Trimesh2_LINK_DIR "Path to Trimesh2 library dir")
3937
option(Trimesh2_INCLUDE_DIR "Path to Trimesh2 includes")
4038

41-
# list(APPEND CMAKE_PREFIX_PATH "/home/anudeep/dev/dependencies/test/glm")
4239
include_directories(
4340
${CMAKE_SOURCE_DIR}/src/
4441
)
4542

46-
# SET(glm_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/../../../dependencies/test/glm)
4743
find_package(glm REQUIRED)
4844
message(STATUS "glm library status:")
4945
message(STATUS " version: ${glm_VERSION}")
@@ -63,7 +59,6 @@ message(STATUS " include path: ${GLM_INCLUDE_DIRS}")
6359
# message(STATUS " include path: ${OpenMP_INCLUDE_DIRS}")
6460
SET(VOXELIZER_EXECUTABLE voxelizer_sycl)
6561

66-
# SET(Trimesh2_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/../../../dependencies/test/trimesh2/include/)
6762
IF(NOT Trimesh2_INCLUDE_DIR)
6863
MESSAGE(FATAL_ERROR "You need to set variable Trimesh2_INCLUDE_DIR")
6964
ENDIF()
@@ -76,9 +71,6 @@ ENDIF()
7671

7772
MARK_AS_ADVANCED(Trimesh2_TriMesh_h)
7873

79-
#link_directories(${CMAKE_SOURCE_DIR}/../../../dependencies/test/trimesh2/lib.Linux64)
80-
#SET(Trimesh2_LINK_DIR ${CMAKE_SOURCE_DIR}/../../../dependencies/test/trimesh2/lib.Linux64/)
81-
8274
IF(NOT Trimesh2_LINK_DIR)
8375
MESSAGE(FATAL_ERROR "You need to set variable Trimesh2_LINK_DIR")
8476
ENDIF()
@@ -108,8 +100,6 @@ SET(SOURCES
108100
${CMAKE_SOURCE_DIR}/src/voxelize_solid.dp.cpp
109101
)
110102

111-
# set(OPENMP_LIBRARIES "/usr/lib/llvm-10/lib")
112-
# set(OPENMP_INCLUDES "/usr/lib/llvm-10/include")
113103
if(USE_NVIDIA_BACKEND)
114104
message(STATUS "Nvidia backend")
115105
add_compile_options(-DUSE_NVIDIA_BACKEND)

0 commit comments

Comments
 (0)