Skip to content
Snippets Groups Projects
Commit ca95f3df authored by Lars Bilke's avatar Lars Bilke
Browse files

[CMake] Fixed dependecy packaging when using Ninja with MSVC.

parent dbb1c693
No related branches found
No related tags found
No related merge requests found
macro(InstallDependencies TARGET INSTALL_COMPONENT) macro(InstallDependencies TARGET INSTALL_COMPONENT)
if(MSVC) if(MSVC AND NOT CMAKE_GENERATOR STREQUAL "Ninja" )
set(TARGET_EXE ${EXECUTABLE_OUTPUT_PATH}/Release/${TARGET}.exe) set(TARGET_EXE ${EXECUTABLE_OUTPUT_PATH}/Release/${TARGET}${CMAKE_EXECUTABLE_SUFFIX})
else() else()
set(TARGET_EXE ${EXECUTABLE_OUTPUT_PATH}/${TARGET}) set(TARGET_EXE ${EXECUTABLE_OUTPUT_PATH}/${TARGET}${CMAKE_EXECUTABLE_SUFFIX})
endif() endif()
if(EXISTS ${TARGET_EXE}) if(EXISTS ${TARGET_EXE})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment