Open TheMostDiligent opened 6 months ago
This will make the commands work outside of VS environment.
The path can be obtained this way:
get_filename_component(CMAKE_DEVKIT_LOCATION ${CMAKE_RC_COMPILER} DIRECTORY)
CMAKE_RC_COMPILER is only set to rc, however CMAKE_AR is set to the full path.
CMAKE_RC_COMPILER
rc
CMAKE_AR
This will make the commands work outside of VS environment.
The path can be obtained this way:
get_filename_component(CMAKE_DEVKIT_LOCATION ${CMAKE_RC_COMPILER} DIRECTORY)