Fix MSVC fgrcc execution
This commit is contained in:
parent
7431fb12b3
commit
bb0ba31fe0
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ function(setup_fgfs_embedded_resources)
|
||||||
# On Windows, make sure fgrcc can be run (it needs third-party libraries)
|
# On Windows, make sure fgrcc can be run (it needs third-party libraries)
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
if(MSVC_3RDPARTY_ROOT AND MSVC_3RDPARTY_DIR)
|
if(MSVC_3RDPARTY_ROOT AND MSVC_3RDPARTY_DIR)
|
||||||
set(CMAKE_MSVCIDE_RUN_PATH ${MSVC_3RDPARTY_ROOT}/${MSVC_3RDPARTY_DIR}/bin)
|
set(CMAKE_MSVCIDE_RUN_PATH ${MSVC_3RDPARTY_ROOT}/${MSVC_3RDPARTY_DIR}/bin PARENT_SCOPE)
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR
|
message(FATAL_ERROR
|
||||||
"Either MSVC_3RDPARTY_ROOT or MSVC_3RDPARTY_DIR is empty or unset")
|
"Either MSVC_3RDPARTY_ROOT or MSVC_3RDPARTY_DIR is empty or unset")
|
||||||
|
|
Loading…
Add table
Reference in a new issue