CMake: Install wxrc on all platforms, closes #18289

This commit is contained in:
Maarten Bent
2018-12-09 15:51:14 +01:00
parent cf25bbbf9a
commit 9f21af693c

View File

@@ -20,8 +20,8 @@ if(wxUSE_XRC)
set_target_properties(wxrc PROPERTIES FOLDER "Utilities")
wx_install(TARGETS wxrc RUNTIME DESTINATION "bin")
if(UNIX)
wx_install(TARGETS wxrc RUNTIME DESTINATION "bin")
install(CODE "execute_process( \
COMMAND ${CMAKE_COMMAND} -E rename \
${CMAKE_INSTALL_PREFIX}/bin/wxrc \