We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 065acb8 commit d8d2fe9Copy full SHA for d8d2fe9
CMakeLists.txt
@@ -38,6 +38,8 @@ if ( COMMAND cmake_policy )
38
cmake_policy( SET CMP0003 NEW )
39
endif()
40
41
+set( CMAKE_BUILD_TYPE "Release")
42
+
43
# CGAL
44
find_package( CGAL REQUIRED )
45
@@ -73,7 +75,11 @@ include_directories( ${GDAL_INCLUDE_DIR} )
73
75
74
76
add_executable( prepair prepair.cpp )
77
78
+set_property(TARGET prepair PROPERTY CXX_STANDARD 17)
79
80
add_to_cached_list( CGAL_EXECUTABLE_TARGETS prepair )
81
82
# Link to CGAL and third-party libraries
-target_link_libraries(prepair ${GDAL_LIBRARY} ${Boost_LIBRARIES})
83
+target_link_libraries(prepair ${GDAL_LIBRARY} ${Boost_LIBRARIES})
84
85
+install(TARGETS prepair DESTINATION bin)
0 commit comments