Verified Commit 44b41a69 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: fix .cpp include if URDF is missing

parent 70f7e7c1
......@@ -7,10 +7,12 @@
# --- C++ --------------------------------------------
# ----------------------------------------------------
SET(${PROJECT_NAME}_SOURCES
parsers/urdf/model.cpp
parsers/urdf/geometry.cpp
)
IF(BUILD_WITH_URDF_SUPPORT)
SET(${PROJECT_NAME}_SOURCES
parsers/urdf/model.cpp
parsers/urdf/geometry.cpp
)
ENDIF()
# Extract the compile definitions of the project for export
GET_DIRECTORY_PROPERTY(CURRENT_COMPILE_DEFINITIONS COMPILE_DEFINITIONS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment