File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 2626 with :
2727 path : ${{ env.WORKSPACE_SRC_PATH }}
2828
29+ - name : Print workspace variables
30+ shell : bash
31+ run : |
32+ echo "WORKSPACE_BUILD_PATH: $WORKSPACE_BUILD_PATH"
33+ echo "WORKSPACE_INSTALL_PATH: $WORKSPACE_INSTALL_PATH"
34+ echo "SOFA_ROOT: $SOFA_ROOT"
35+ echo "PWD: $(pwd)"
36+
2937 - name : Build and install
3038 id : build-install
3139 shell : bash
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ target_link_libraries(${PROJECT_NAME}
5050)
5151
5252## Install rules for the library and headers; CMake package configurations files
53- set (${PROJECT_NAME} _INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR} /src " )
54- target_include_directories (${PROJECT_NAME} PUBLIC "$<BUILD_INTERFACE:${${PROJECT_NAME} _INCLUDE_DIRS} >" )
55- target_include_directories (${PROJECT_NAME} PUBLIC "$<INSTALL_INTERFACE:include/ ${ PROJECT_NAME} >" )
53+ set (${PROJECT_NAME} _INCLUDE_DIRS "include/ ${PROJECT_NAME} " )
54+ target_include_directories (${PROJECT_NAME} PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /src >" )
55+ target_include_directories (${PROJECT_NAME} PUBLIC "$<INSTALL_INTERFACE:${ ${ PROJECT_NAME} _INCLUDE_DIRS }>" )
5656sofa_create_package_with_targets(PACKAGE_NAME ${PROJECT_NAME} PACKAGE_VERSION 0.1 TARGETS ${PROJECT_NAME} INCLUDE_INSTALL_DIR ${${PROJECT_NAME} _INCLUDE_DIRS})
You can’t perform that action at this time.
0 commit comments