Skip to content

Commit

Permalink
Use add_compile_definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Oct 9, 2024
1 parent 10b3705 commit 9e75ab3
Show file tree
Hide file tree
Showing 39 changed files with 72 additions and 72 deletions.
2 changes: 1 addition & 1 deletion AABB_tree/demo/AABB_tree/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ find_package(Qt6 QUIET COMPONENTS Gui OpenGL)

if(CGAL_Qt6_FOUND AND Qt6_FOUND)

add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)

# Instruct CMake to run moc/ui/rcc automatically when needed.
set(CMAKE_AUTOMOC ON)
Expand Down
2 changes: 1 addition & 1 deletion Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ find_package(Qt6 QUIET COMPONENTS Widgets OpenGL)

if(CGAL_Qt6_FOUND AND Qt6_FOUND)

add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)

# Instruct CMake to run moc/ui/rcc automatically when needed.
set(CMAKE_AUTOMOC ON)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if (CGAL_Qt6_FOUND AND Qt6_FOUND)
set(CMAKE_INCLUDE_CURRENT_DIR ON)

# Arrangement package includes
add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
option(COMPILE_UTILS_INCREMENTALLY
"Compile files in Utils directory incrementally, or compile them all as a unit. \
Incremental compilation will be better for development and consume less \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ endif()



add_definitions(-DQT_NO_VERSION_TAGGING)
add_compile_definitions(-DQT_NO_VERSION_TAGGING)

# AOS
file(GLOB source_files_aos Aos.h Aos.cpp Aos_defs.h
Expand Down
2 changes: 1 addition & 1 deletion GraphicsView/demo/Alpha_shapes_2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ find_package(CGAL REQUIRED OPTIONAL_COMPONENTS Qt6)
find_package(Qt6 QUIET COMPONENTS Widgets)

if(CGAL_Qt6_FOUND AND Qt6_FOUND)
add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
Expand Down
2 changes: 1 addition & 1 deletion GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ find_package(CGAL REQUIRED OPTIONAL_COMPONENTS Qt6)
find_package(Qt6 QUIET COMPONENTS Widgets)

if(CGAL_Qt6_FOUND AND Qt6_FOUND)
add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
Expand Down
2 changes: 1 addition & 1 deletion GraphicsView/demo/Bounding_volumes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ endif()
if(CGAL_Qt6_FOUND AND Qt6_FOUND)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
Expand Down
2 changes: 1 addition & 1 deletion GraphicsView/demo/Circular_kernel_2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ find_package(CGAL REQUIRED OPTIONAL_COMPONENTS Qt6)
find_package(Qt6 QUIET COMPONENTS Widgets)

if(CGAL_Qt6_FOUND AND Qt6_FOUND)
add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
Expand Down
2 changes: 1 addition & 1 deletion GraphicsView/demo/Generator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ find_package(Qt6 QUIET COMPONENTS Widgets)

if(CGAL_Qt6_FOUND AND Qt6_FOUND)

add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
Expand Down
2 changes: 1 addition & 1 deletion GraphicsView/demo/GraphicsView/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ find_package(Qt6 QUIET COMPONENTS Widgets)

if(CGAL_Qt6_FOUND AND Qt6_FOUND)

add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_INCLUDE_CURRENT_DIR ON)

qt_add_executable(min min.cpp)
Expand Down
2 changes: 1 addition & 1 deletion GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include_directories(BEFORE ./include)

if(CGAL_Qt6_FOUND AND Qt6_FOUND)

add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
Expand Down
2 changes: 1 addition & 1 deletion GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ find_package(Qt6 QUIET COMPONENTS Widgets)

if(CGAL_Qt6_FOUND AND Qt6_FOUND)

add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include_directories(BEFORE ./include)

if(CGAL_Qt6_FOUND AND Qt6_FOUND)

add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)

Expand Down
4 changes: 2 additions & 2 deletions GraphicsView/demo/Polygon/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ endif()
find_package(Qt6 QUIET COMPONENTS Widgets)

if(CGAL_Qt6_FOUND AND Qt6_FOUND)
add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)

if(CGAL_Core_FOUND)
add_definitions(-DCGAL_USE_CORE)
add_compile_definitions(-DCGAL_USE_CORE)
endif()

qt_add_executable(Polygon_2 Polygon_2.cpp
Expand Down
2 changes: 1 addition & 1 deletion GraphicsView/demo/Segment_Delaunay_graph_2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if(CGAL_Qt6_FOUND AND Qt6_FOUND)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)

add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)


qt_add_executable(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if(CGAL_Qt6_FOUND AND Qt6_FOUND)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)

qt_add_executable(
Segment_voronoi_linf_2 Segment_voronoi_linf_2.cpp
Expand Down
2 changes: 1 addition & 1 deletion GraphicsView/demo/Snap_rounding_2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if(CGAL_Qt6_FOUND AND Qt6_FOUND)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)

qt_add_executable(
Snap_rounding_2 Snap_rounding_2.cpp
Expand Down
2 changes: 1 addition & 1 deletion GraphicsView/demo/Spatial_searching_2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ find_package(Qt6 QUIET COMPONENTS Widgets)

if(CGAL_Qt6_FOUND AND Qt6_FOUND)

add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
Expand Down
2 changes: 1 addition & 1 deletion GraphicsView/demo/Stream_lines_2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ find_package(Qt6 QUIET COMPONENTS Widgets)

if(CGAL_Qt6_FOUND AND Qt6_FOUND)

add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
Expand Down
2 changes: 1 addition & 1 deletion GraphicsView/demo/Triangulation_2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if(NOT CGAL_Qt6_FOUND OR NOT Qt6_FOUND)
return()
endif()

add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_INCLUDE_CURRENT_DIR ON)

#--------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Kernel_23/test/Kernel_23/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if(CGAL_KERNEL_23_TEST_RT_FT_PREDICATE_FLAGS)
# - create a lot of possible combinations, which is expensive to test
# - create issues because some combinations might be RT-sufficient whereas others will require FT
#
# add_definitions(-DCGAL_KERNEL_23_TEST_RT_FT_PREDICATES_TEST_PREDICATES_WITH_TEMPLATED_OPERATORS)
# add_compile_definitions(-DCGAL_KERNEL_23_TEST_RT_FT_PREDICATES_TEST_PREDICATES_WITH_TEMPLATED_OPERATORS)

create_single_source_cgal_program("atomic_compilation_test.cpp")
target_precompile_headers(atomic_compilation_test PUBLIC [["atomic_RT_FT_predicate_headers.h"]])
Expand Down
10 changes: 5 additions & 5 deletions Lab/demo/Lab/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project(Lab_Demo)
include(FeatureSummary)


add_definitions ( -DCGAL_NO_DEPRECATED_CODE )
add_compile_definitions ( -DCGAL_NO_DEPRECATED_CODE )

# Find includes in corresponding build directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)
Expand Down Expand Up @@ -48,8 +48,8 @@ set_package_properties(
DESCRIPTION "To find this package, it should be sufficient to fill the Qt6_DIR variable with: <Qt_dir>/<Qt_version>/<Compilator>/lib/cmake/Qt6")

if(Qt6_FOUND)
add_definitions(-DQT_NO_KEYWORDS)
add_definitions(-DSCENE_IMAGE_GL_BUFFERS_AVAILABLE)
add_compile_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DSCENE_IMAGE_GL_BUFFERS_AVAILABLE)
endif(Qt6_FOUND)

find_package(Eigen3 3.2.0 QUIET) #(requires 3.2.0 or greater)
Expand Down Expand Up @@ -94,7 +94,7 @@ option(CGAL_ACTIVATE_CONCURRENT_MESH_3 "Activate parallelism in Mesh_3" OFF)

# And add -DCGAL_CONCURRENT_MESH_3 if that option is ON
if(CGAL_ACTIVATE_CONCURRENT_MESH_3 OR "$ENV{CGAL_ACTIVATE_CONCURRENT_MESH_3}")
add_definitions(-DCGAL_CONCURRENT_MESH_3)
add_compile_definitions(-DCGAL_CONCURRENT_MESH_3)
if(NOT TBB_FOUND)
find_package(TBB REQUIRED)
include(CGAL_TBB_support)
Expand Down Expand Up @@ -345,7 +345,7 @@ if(CGAL_Qt6_FOUND AND Qt6_FOUND)
add_to_cached_list(CGAL_EXECUTABLE_TARGETS ${lib})
endforeach()

add_definitions(-DUSE_FORWARD_DECL)
add_compile_definitions(-DUSE_FORWARD_DECL)
add_library(
cgal_lab SHARED
MainWindow.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ link_directories(${CMAKE_CURRENT_SOURCE_DIR}/cgogn/lib/Release)
include_directories(BEFORE "/usr/include/libxml2/")

# For profilling with gprof
#add_definitions("-pg")
#add_compile_definitions("-pg")
#SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pg")
# add_definitions("-g")
# add_compile_definitions("-g")

# OpenMesh
find_package(OpenMesh REQUIRED)
Expand Down Expand Up @@ -47,7 +47,7 @@ find_package(Qt REQUIRED)
set(QT_USE_QTSVG TRUE)
set(QT_USE_QTXML TRUE)
include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
add_compile_definitions(${QT_DEFINITIONS})
set(CGoGN_EXT_INCLUDES ${CGoGN_EXT_INCLUDES} ${QT_INCLUDE_DIR})
set(CGoGN_EXT_LIBS ${CGoGN_EXT_LIBS} ${QT_LIBRARIES})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ find_package(Qt REQUIRED)
set(QT_USE_QTSVG TRUE)
set(QT_USE_QTXML TRUE)
include(${QT_USE_FILE})
add_definitions(${QT_DEFINITIONS})
add_compile_definitions(${QT_DEFINITIONS})

add_definitions(-DINCLUDE_TEMPLATES)
add_compile_definitions(-DINCLUDE_TEMPLATES)

# Performance_3
add_executable(performance_3 performance_3.cpp)
Expand Down
22 changes: 11 additions & 11 deletions Linear_cell_complex/demo/Linear_cell_complex/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@ project(Linear_cell_complex_Demo)
set(CMAKE_INCLUDE_CURRENT_DIR ON)

## To add expensive tests
# add_definitions("-DCGAL_CHECK_EXPENSIVE")
# add_definitions("-Wall -Wextra")
# add_definitions(-fsanitize=address)
# add_compile_definitions("-DCGAL_CHECK_EXPENSIVE")
# add_compile_definitions("-Wall -Wextra")
# add_compile_definitions(-fsanitize=address)
# add_link_options(-fsanitize=address)
# add_definitions("-D_GLIBCXX_DEBUG")
# add_compile_definitions("-D_GLIBCXX_DEBUG")

## For profilling with gprof
# add_definitions("-pg")
# add_compile_definitions("-pg")
# SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pg")

## To add an is_valid test after each operation (only in debug mode)
# add_definitions("-DCGAL_CMAP_TEST_VALID_REMOVALS")
# add_definitions("-DCGAL_CMAP_TEST_VALID_CONTRACTIONS")
# add_definitions("-DCGAL_CMAP_TEST_VALID_INSERTIONS")
# add_compile_definitions("-DCGAL_CMAP_TEST_VALID_REMOVALS")
# add_compile_definitions("-DCGAL_CMAP_TEST_VALID_CONTRACTIONS")
# add_compile_definitions("-DCGAL_CMAP_TEST_VALID_INSERTIONS")

# Option allowing to profile each operation of the demo (cout times on stdout).
add_definitions(-DCGAL_PROFILE_LCC_DEMO)
add_compile_definitions(-DCGAL_PROFILE_LCC_DEMO)

add_definitions(-DCMAP_WITH_INDEX) # to use cc with index (handle otherwise)
add_compile_definitions(-DCMAP_WITH_INDEX) # to use cc with index (handle otherwise)

##################
find_package(CGAL REQUIRED OPTIONAL_COMPONENTS Qt6)
Expand All @@ -40,7 +40,7 @@ if(NOT CGAL_Qt6_FOUND OR NOT Qt6_FOUND)

else()

add_definitions(-DCGAL_USE_BASIC_VIEWER -DQT_NO_KEYWORDS)
add_compile_definitions(-DCGAL_USE_BASIC_VIEWER -DQT_NO_KEYWORDS)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ find_package(CGAL REQUIRED OPTIONAL_COMPONENTS Qt6)
# set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pg")

# To use valgrind, we must disable rounding math check.
# add_definitions(-DCGAL_DISABLE_ROUNDING_MATH_CHECK)
# add_compile_definitions(-DCGAL_DISABLE_ROUNDING_MATH_CHECK)

create_single_source_cgal_program("gmap_linear_cell_complex_3.cpp")
create_single_source_cgal_program("linear_cell_complex_3.cpp")
Expand Down
6 changes: 3 additions & 3 deletions Mesh_3/benchmark/Mesh_3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ project(Mesh_3_benchmark)

find_package(CGAL REQUIRED COMPONENTS ImageIO)

add_definitions(-DCGAL_MESH_3_NO_DEPRECATED_SURFACE_INDEX
add_compile_definitions(-DCGAL_MESH_3_NO_DEPRECATED_SURFACE_INDEX
-DCGAL_MESH_3_NO_DEPRECATED_C3T3_ITERATORS)

# Activate verbose mode? (turned OFF by default)
option(CGAL_ACTIVATE_CONCURRENT_MESH_3 "Activate verbose mode in Mesh_3" OFF)
if(MESH_3_VERBOSE)
add_definitions(-DCGAL_MESH_3_VERBOSE)
add_compile_definitions(-DCGAL_MESH_3_VERBOSE)
endif()

# Activate concurrency? (turned OFF by default)
option(CGAL_ACTIVATE_CONCURRENT_MESH_3 "Activate parallelism in Mesh_3" OFF)

# And add -DCGAL_CONCURRENT_MESH_3 if that option is ON
if(CGAL_ACTIVATE_CONCURRENT_MESH_3)
add_definitions(-DCGAL_CONCURRENT_MESH_3)
add_compile_definitions(-DCGAL_CONCURRENT_MESH_3)
find_package(TBB REQUIRED)
include(CGAL_TBB_support)
else()
Expand Down
6 changes: 3 additions & 3 deletions Mesh_3/examples/Mesh_3/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
cmake_minimum_required(VERSION 3.12...3.29)
project(Mesh_3_Examples)

add_definitions(-DCGAL_MESH_3_NO_DEPRECATED_SURFACE_INDEX
add_compile_definitions(-DCGAL_MESH_3_NO_DEPRECATED_SURFACE_INDEX
-DCGAL_MESH_3_NO_DEPRECATED_C3T3_ITERATORS)

if(CGAL_MESH_3_VERBOSE)
add_definitions(-DCGAL_MESH_3_VERBOSE)
add_compile_definitions(-DCGAL_MESH_3_VERBOSE)
endif()

find_package(CGAL REQUIRED COMPONENTS ImageIO)

option(CGAL_ACTIVATE_CONCURRENT_MESH_3 "Activate parallelism in Mesh_3" OFF)

if(CGAL_ACTIVATE_CONCURRENT_MESH_3 OR "$ENV{CGAL_ACTIVATE_CONCURRENT_MESH_3}")
add_definitions(-DCGAL_CONCURRENT_MESH_3)
add_compile_definitions(-DCGAL_CONCURRENT_MESH_3)
find_package(TBB REQUIRED)
include(CGAL_TBB_support)
endif()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ find_package(CGAL REQUIRED OPTIONAL_COMPONENTS Qt6)
find_package(Qt6 QUIET COMPONENTS Widgets OpenGL Help ToolsTools)

if(Qt6_FOUND)
add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
endif(Qt6_FOUND)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ find_package(Qt6 QUIET COMPONENTS Widgets)

include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/include)
if(CGAL_Qt6_FOUND AND Qt6_FOUND)
add_definitions(-DQT_NO_KEYWORDS)
add_compile_definitions(-DQT_NO_KEYWORDS)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
Expand Down
2 changes: 1 addition & 1 deletion Ridges_3/examples/Ridges_3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if(TARGET CGAL::Eigen3_support)
create_single_source_cgal_program(Ridges_Umbilics_LCC.cpp)
target_link_libraries(Ridges_Umbilics_LCC PRIVATE CGAL::Eigen3_support)

add_definitions("-DCGAL_USE_BOOST_PROGRAM_OPTIONS")
add_compile_definitions("-DCGAL_USE_BOOST_PROGRAM_OPTIONS")
target_link_libraries(Compute_Ridges_Umbilics PRIVATE Boost::program_options)
target_link_libraries(Ridges_Umbilics_SM PRIVATE Boost::program_options)
target_link_libraries(Ridges_Umbilics_LCC PRIVATE Boost::program_options)
Expand Down
Loading

0 comments on commit 9e75ab3

Please sign in to comment.