Skip to content

Commit

Permalink
Fix CMake -P argument
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrosemurgy authored and Boehm-Michael committed Jun 22, 2023
1 parent eb507ba commit a2e42d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/target/install.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function(install_add_deployment_target MODULE TARGET SOURCES DEPENDENCIES FULL_D
)
install(FILES ${FPRIME_CURRENT_DICTIONARY_FILE} DESTINATION ${TOOLCHAIN_NAME}/${MODULE}/dict COMPONENT ${MODULE})
add_custom_command(TARGET "${MODULE}" POST_BUILD COMMAND "${CMAKE_COMMAND}"
-DCMAKE_INSTALL_COMPONENT=${MODULE} -P${CMAKE_BINARY_DIR}/cmake_install.cmake)
-DCMAKE_INSTALL_COMPONENT=${MODULE} -P ${CMAKE_BINARY_DIR}/cmake_install.cmake)
endfunction()

# Install is per-deployment, a module-by-module variant does not make sense
Expand Down

0 comments on commit a2e42d8

Please sign in to comment.