Skip to content

Commit 09652b9

Browse files
author
Murilo M. Marinho
committed
[CMakeLists.txt] Further relying on c++'s CMakeLists.txt to reduce repetition.
1 parent cd588aa commit 09652b9

File tree

2 files changed

+1
-28
lines changed

2 files changed

+1
-28
lines changed

CMakeLists.txt

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,36 +9,9 @@ project(dqroboticspython)
99
set(CMAKE_CXX_STANDARD 17)
1010
set(CMAKE_CXX_STANDARD_REQUIRED ON)
1111

12-
if(UNIX)
13-
add_compile_options(-Werror=return-type -Wall -Wextra -Wmissing-declarations -Wredundant-decls -Woverloaded-virtual -fPIC)
14-
endif()
15-
16-
if(APPLE)
17-
message("Building not supported on this platform.")
18-
include_directories(
19-
/usr/local/include/
20-
/usr/local/include/eigen3
21-
/opt/homebrew/include
22-
/opt/homebrew/include/eigen3
23-
)
24-
endif()
25-
26-
if(WIN32)
27-
message("Building not supported on this platform.")
28-
ADD_DEFINITIONS(-D_USE_MATH_DEFINES)
29-
FIND_PACKAGE(Eigen3 CONFIG REQUIRED)
30-
INCLUDE_DIRECTORIES(${EIGEN3_INCLUDE_DIR})
31-
endif()
32-
33-
3412
include_directories(
35-
/usr/include/eigen3/
36-
37-
cpp/include/
38-
3913
interfaces/cpp-interface-json11/include/
4014
interfaces/cpp-interface-json11/dropbox/json11/
41-
4215
)
4316

4417
add_subdirectory(pybind11)

0 commit comments

Comments
 (0)