mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-15 16:42:12 -05:00
Write a file Fortran code can use to prefix $cwd file paths
This commit is contained in:
parent
34580f3a5b
commit
4a7d5b8602
@ -50,6 +50,12 @@ qt5_wrap_ui (map65_GENUISRCS ${map65_UISRCS})
|
|||||||
add_executable (map65 ${map65_CXXSRCS} ${map65_CSRCS} ${map65_GENUISRCS} map65.rc)
|
add_executable (map65 ${map65_CXXSRCS} ${map65_CSRCS} ${map65_GENUISRCS} map65.rc)
|
||||||
target_link_libraries (map65 m65impl ${FFTW3_LIBRARIES} Qt5::Widgets Qt5::Network Portaudio::Portaudio Usb::Usb)
|
target_link_libraries (map65 m65impl ${FFTW3_LIBRARIES} Qt5::Widgets Qt5::Network Portaudio::Portaudio Usb::Usb)
|
||||||
|
|
||||||
|
install (
|
||||||
|
CODE "file (TO_NATIVE_PATH \"/\" _separator)
|
||||||
|
get_filename_component (_path \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/wsjtx_dir.txt\" REALPATH)
|
||||||
|
file (WRITE \"\${_path}\" \".\${_separator}\\n\")"
|
||||||
|
)
|
||||||
|
|
||||||
install (
|
install (
|
||||||
TARGETS map65
|
TARGETS map65
|
||||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
|
||||||
|
Loading…
Reference in New Issue
Block a user