2018-03-25 12:29:02 +00:00
|
|
|
function(setup_fgfs_embedded_resources)
|
|
|
|
# On Windows, make sure fgrcc can be run (it needs third-party libraries)
|
|
|
|
if(MSVC)
|
2020-08-26 12:57:24 +00:00
|
|
|
if (FINAL_MSVC_3RDPARTY_DIR)
|
|
|
|
set(CMAKE_MSVCIDE_RUN_PATH ${FINAL_MSVC_3RDPARTY_DIR}/bin PARENT_SCOPE)
|
2018-03-25 12:29:02 +00:00
|
|
|
else()
|
2020-08-26 12:57:24 +00:00
|
|
|
message(FATAL_ERROR "FINAL_MSVC_3RDPARTY_DIR is empty or unset")
|
2018-03-25 12:29:02 +00:00
|
|
|
endif()
|
|
|
|
endif()
|
|
|
|
endfunction()
|
2020-08-26 12:57:24 +00:00
|
|
|
|