Skip to content

Commit

Permalink
remove c++ standard from compile options and define separately to com…
Browse files Browse the repository at this point in the history
…pile with clang (#20)
  • Loading branch information
mlanighan authored Dec 7, 2023
1 parent 6a810a8 commit 9046b1f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
cmake_minimum_required(VERSION 2.8.3)
project(gl_depth_sim)

add_compile_options(-std=c++14 -Wall -Wextra)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_compile_options(-Wall -Wextra)

find_package(catkin REQUIRED COMPONENTS
roscpp # Used for ROS examples
Expand Down

0 comments on commit 9046b1f

Please sign in to comment.