Skip to content

Commit 6214846

Browse files
committed
[cmake] Clean up unnecessary manual configurations
1 parent 40c2deb commit 6214846

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

CMakeLists.txt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,13 @@ set_source_files_properties(${IGNORED_FILES} PROPERTIES HEADER_FILE_ONLY TRUE)
2121

2222
add_library(${PROJECT_NAME} SHARED ${SOURCE_FILES} ${HEADER_FILES} ${README_FILES})
2323

24-
set_target_properties(${PROJECT_NAME} PROPERTIES
25-
COMPILE_FLAGS "-DPLUGIN_DATA_DIR=\"${CMAKE_CURRENT_SOURCE_DIR}/\"")
26-
2724
target_link_libraries(${PROJECT_NAME}
2825
Sofa.Simulation.Core
2926
Sofa.Component.StateContainer
3027
Sofa.Component.Constraint.Lagrangian.Solver
3128
Sofa.GL
3229
)
3330

34-
## Install rules for the library and headers; CMake package configurations files
35-
#set(${PROJECT_NAME}_INCLUDE_DIRS "include/${PROJECT_NAME}")
36-
37-
target_include_directories(${PROJECT_NAME} PUBLIC
38-
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>"
39-
"$<INSTALL_INTERFACE:${${PROJECT_NAME}_INCLUDE_DIRS}>"
40-
)
41-
4231
sofa_create_package_with_targets(
4332
PACKAGE_NAME ${PROJECT_NAME}
4433
PACKAGE_VERSION ${PROJECT_VERSION}

0 commit comments

Comments
 (0)