CMakeModules/SetupFGFSEmbeddedResources.cmake
raw| 1 | function(setup_fgfs_embedded_resources) |
| 2 | # On Windows, make sure fgrcc can be run (it needs third-party libraries) |
| 3 | if(MSVC) |
| 4 | if (FINAL_MSVC_3RDPARTY_DIR) |
| 5 | set(CMAKE_MSVCIDE_RUN_PATH ${FINAL_MSVC_3RDPARTY_DIR}/bin PARENT_SCOPE) |
| 6 | else() |
| 7 | message(FATAL_ERROR "FINAL_MSVC_3RDPARTY_DIR is empty or unset") |
| 8 | endif() |
| 9 | endif() |
| 10 | endfunction() |
| 11 |